RetryOptions
Defined in: index.ts:9
Retry options for batch processing
Properties
Section titled “Properties”backoff?
Section titled “backoff?”
optionalbackoff?:"linear"|"exponential"
Defined in: index.ts:13
Backoff strategy: ‘linear’ (constant delay) or ‘exponential’ (increasing delay, capped at maxDelay)
initialDelay?
Section titled “initialDelay?”
optionalinitialDelay?:number
Defined in: index.ts:15
Initial delay in milliseconds between retries (default: 100ms, minimum: 0)
maxAttempts
Section titled “maxAttempts”maxAttempts:
number
Defined in: index.ts:11
Maximum number of retry attempts for failed tasks (minimum: 1, non-integers are floored)
maxDelay?
Section titled “maxDelay?”
optionalmaxDelay?:number
Defined in: index.ts:17
Maximum delay in milliseconds for exponential backoff (default: 30000ms, minimum: 0)