Created
July 1, 2016 05:49
-
-
Save tkssharma/e6d06a065261ec897e08e2bb61b72785 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
var obs = Rx.Observable.interval(500).take(5) | |
.do(i => console.log("obs value "+ i) ); | |
obs.subscribe(value => console.log("observer 1 received " + value)); | |
obs.subscribe(value => console.log("observer 2 received " + value)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment