Last active
March 25, 2017 17:39
-
-
Save stevermeister/633ed30d486a22234a97e4fe2a1f7247 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
const getPostOne$ = Rx.Observable.timer(3000).mapTo({id: 1}); | |
const getPostTwo$ = Rx.Observable.timer(1000).mapTo({id: 2}); | |
Rx.Observable.concat(getPostOne$, getPostTwo$).subscribe(res => console.log(res)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment