Created
May 2, 2017 07:39
-
-
Save Yago/39eefcaafff05718b7c2d3f1a8dddbfc 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 stream = Rx.Observable.from([1, 2, 3]); | |
stream.subscribe( | |
(x) => { console.log(x); }, | |
(err) => { console.error(err); }, | |
() => { console.log('Done 👍'); } | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment