Optional
backoffFactor?: numberOptional
initialInterval?: numberAmount of time that must elapse before the first retry occurs in milliseconds.
Optional
jitter?: booleanWhether to add random jitter to the interval between retries.
Optional
maxAttempts?: numberMaximum amount of time that may elapse between retries.
Optional
maxInterval?: numberMaximum amount of time that may elapse between retries in milliseconds.
Optional
retryOn?: (e: any) => booleanA function that returns True for exceptions that should trigger a retry.
Multiplier by which the interval increases after each retry.