Skip to main content

Interface: RetryPolicy

The retry policy an activity carries (retryConfig plus Temporal's deny-list). maxRetries absent means unlimited attempts, bounded by scheduleToCloseTimeout.

Properties​

backoffMultiplier?​

optional backoffMultiplier?: number


maxDelay?​

optional maxDelay?: number

Largest delay, in milliseconds.


maxRetries?​

optional maxRetries?: number


nonRetryableErrorTypes?​

optional nonRetryableErrorTypes?: string[]

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


retryDelay​

retryDelay: number

Delay before the first retry, in milliseconds.


retryOnErrorTypes?​

optional retryOnErrorTypes?: ErrorType[]

Allow-list on errorType.