0.0.3 • Published 5 years ago

rxjs-exponential-backoff-retry v0.0.3

Weekly downloads
82
License
MIT
Repository
github
Last release
5 years ago

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()
  );
0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago