Created
May 2, 2017 07:40
-
-
Save Yago/817f11ac78d25769073c649e26e06c84 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([2, 4, 6, 8, 10, 12]); | |
stream | |
.map(x => x * 2) | |
.filter(x => x % 3 === 0) | |
.skip(1) | |
.subscribe( | |
(x) => { console.log(x); }, | |
(err) => { console.error(err); }, | |
() => { console.log('Cypher ?'); } | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment