Created
August 29, 2017 18:37
-
-
Save musukvl/2e8935d8d4f14608f32435dbd7098ac4 to your computer and use it in GitHub Desktop.
This file contains 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 foo = Rx.Observable.create(function (observer) { | |
console.log('Hello'); | |
observer.next(42); | |
}); | |
foo.subscribe(function (x) { | |
console.log(x); | |
}); | |
foo.subscribe(function (y) { | |
console.log(y); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment