Skip to content

Instantly share code, notes, and snippets.

@alex-okrushko
Last active October 2, 2018 18:24
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/470ecbb0c710c76abaca20232d94ae53 to your computer and use it in GitHub Desktop.
Save alex-okrushko/470ecbb0c710c76abaca20232d94ae53 to your computer and use it in GitHub Desktop.
message$ = of('Call me!').pipe(
switchMap(() => this.service.callBackend()),
retryBackoff({
initialInterval: 100,
maxRetries: 12,
}),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment