Skip to main content

Interface: IRetryPolicy

Properties of a RetryPolicy.

Extends​

Properties​

backoffCoefficient?​

optional backoffCoefficient?: number | null

Coefficient used to calculate the next retry interval. The next retry interval is previous interval multiplied by the coefficient. Must be 1 or larger.

Inherited from​

$Properties.backoffCoefficient


initialInterval?​

optional initialInterval?: $Properties | null

Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries.

Inherited from​

$Properties.initialInterval


maximumAttempts?​

optional maximumAttempts?: number | null

Maximum number of attempts. When exceeded the retries stop even if not expired yet. 1 disables retries. 0 means unlimited (up to the timeouts)

Inherited from​

$Properties.maximumAttempts


maximumInterval?​

optional maximumInterval?: $Properties | null

Maximum interval between retries. Exponential backoff leads to interval increase. This value is the cap of the increase. Default is 100x of the initial interval.

Inherited from​

$Properties.maximumInterval


nonRetryableErrorTypes?​

optional nonRetryableErrorTypes?: string[] | null

Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that this is not a substring match, the error type (not message) must match exactly.

Inherited from​

$Properties.nonRetryableErrorTypes