ResolvedRetryConfig
Defined in: core/retry.ts:84
Resolved retry configuration with all defaults applied.
Properties
Section titled “Properties”enabled
Section titled “enabled”enabled:
boolean
Defined in: core/retry.ts:85
factor
Section titled “factor”factor:
number
Defined in: core/retry.ts:89
maxTimeout
Section titled “maxTimeout”maxTimeout:
number
Defined in: core/retry.ts:88
minTimeout
Section titled “minTimeout”minTimeout:
number
Defined in: core/retry.ts:87
onRetriesExhausted()?
Section titled “onRetriesExhausted()?”
optionalonRetriesExhausted: (error,attempts) =>void
Defined in: core/retry.ts:92
Parameters
Section titled “Parameters”Error
attempts
Section titled “attempts”number
Returns
Section titled “Returns”void
onRetry()?
Section titled “onRetry()?”
optionalonRetry: (error,attempt) =>void
Defined in: core/retry.ts:91
Parameters
Section titled “Parameters”Error
attempt
Section titled “attempt”number
Returns
Section titled “Returns”void
randomize
Section titled “randomize”randomize:
boolean
Defined in: core/retry.ts:90
retries
Section titled “retries”retries:
number
Defined in: core/retry.ts:86
shouldRetry()?
Section titled “shouldRetry()?”
optionalshouldRetry: (error) =>boolean
Defined in: core/retry.ts:93
Parameters
Section titled “Parameters”Error
Returns
Section titled “Returns”boolean