MaxBackoff
We introduced a new formula when using exponential backoff and a maxBackoff limit to avoid very long time between retries.
Breaking changes: potentially the new formula can lengthen the time between retries if you use exponential backoff.
Release - Version 2.0.0
Jitter
Most exponential backoff algorithms use jitter (randomized delay) to prevent successive collisions.
Release - Version 1.2.0
Retry a function
This main feature is to retry a function until it succeeds.
A configuration object can help to adapt to each use case.
Release - Version 1.0.0
Exponential retry
Exponential retry allow a function to increase the waiting time between reties after each retry failure.
It can be very useful in case of network errors or third party failure to let the time to those external components to retrieve a stable state.