Last active
May 2, 2017 07:46
-
-
Save Yago/2b356900d8d8e34563dcc9b0cd616dd9 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 listStream = Rx.Observable.from([1, 2, 3]); | |
const timeStream = Rx.Observable.interval(1000); // 1000ms | |
const promiseStream = Rx.Observable.fromPromise(fetch('ip.jsontest.com')); | |
const mergedStreams = Rx.Observable.merge(listStream, timeStream); | |
const emptyStream = Rx.Observable.empty(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment