Last active
July 20, 2019 22:45
-
-
Save cartant/e783008e94c6adcef98d253b1d7f6b31 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const source = instrument(Observable.interval(100)); | |
const published = source.publish(); | |
const a = published.take(1).subscribe(observer("a")); | |
const b = published.take(1).subscribe(observer("b")); | |
const subscription = published.connect(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment