Skip to main content

Interface: RunRetryPolicy

The run-level retry policy of a DURABLE_FN run (11 §2.17), in milliseconds. A run that fails with a retryable failure, or whose run timeout expires, is started again as a new run of the same chain, up to maxAttempts attempts in total (absent: unlimited, bounded by the execution timeout).

Properties​

backoffMultiplier?​

optional backoffMultiplier?: number


initialDelayMs​

initialDelayMs: number

Delay before the second attempt.


maxAttempts?​

optional maxAttempts?: number


maxDelayMs?​

optional maxDelayMs?: number


nonRetryableErrorTypes?​

optional nonRetryableErrorTypes?: string[]

Deny-list on the free-form Failure.type; wins over the allow-list.


retryOnErrorTypes?​

optional retryOnErrorTypes?: ErrorType[]

Allow-list on errorType.