Skip to content

Instantly share code, notes, and snippets.

@alex-okrushko
Last active May 30, 2018 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alex-okrushko/aac78352efc622bf2e047dff1b4485ee to your computer and use it in GitHub Desktop.
Save alex-okrushko/aac78352efc622bf2e047dff1b4485ee to your computer and use it in GitHub Desktop.
simple example of exponential backoff usage
message$ = of('Call me!').pipe(
switchMap(() => this.service.callBackend()),
retryBackoff(1000),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment