Skip to content

3g0r/rxjs-exponential-backoff-retry

Repository files navigation

Exponential backoff retry rof RxJs

Start retry loop after parent observable throws error.
Delay will be increase and randomize with jitter before every iteration.
If parent observable passed success, then accumulated delay will be reset, and have not influence on next produced item.

Installation

yarn add rxjs-exponential-backoff-retry

Basic usage

  defer(fetch('https://google.com'))
  .pipe(
    exponentialBackoffRetry()
  );

About

Exponential backoff retry rof RxJs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published