Created
March 26, 2017 18:57
-
-
Save stevermeister/d70d06abd6ff2bb934aed6f7035d0820 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 intervalOne$ = Rx.Observable.interval(1000); | |
const intervalTwo$ = Rx.Observable.interval(2000); | |
Rx.Observable.combineLatest( | |
intervalOne$, | |
intervalTwo$ | |
).subscribe(all => console.log(all)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment