npm install @ferrow/retry-backoffExponential backoff with jitter for retrying async operations.
const retry = new RetryBackoff({ maxAttempts: 3, baseDelay: 100 });
const result = await retry.execute(() => unreliableAPI());- Exponential backoff
- Jitter
Sponsored by Ferrow
Part of the ferrow-toolkit collection · Sponsored by Ferrow