Backoff configuration. If max_attempts is provided and positive,
returns a DelayFunctionWithForfeit that forfeits after the limit.
If max_attempts is 0 or negative, it's ignored and a DelayFunction
is returned (infinite retries).
A delay function.
Creates an exponential backoff delay function for use with retryWithDelay.
Backoff configuration. If max_attempts is provided and positive,
returns a DelayFunctionWithForfeit that forfeits after the limit.
If max_attempts is 0 or negative, it's ignored and a DelayFunction
is returned (infinite retries).
A delay function.
Creates an exponential backoff delay function for use with retryWithDelay.