Skip to content

Instantly share code, notes, and snippets.

@ArtemRomanovsky
Created February 19, 2020 15:21
Show Gist options
  • Save ArtemRomanovsky/f8b6c833bc7d4b9bc747f555529c688f to your computer and use it in GitHub Desktop.
Save ArtemRomanovsky/f8b6c833bc7d4b9bc747f555529c688f to your computer and use it in GitHub Desktop.
const observable = Rx.Observable
.interval(1000)
.take(5)
.multicast(new Rx.Subject())
.refCount();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment