Skip to content

Instantly share code, notes, and snippets.

@stevermeister
Created March 26, 2017 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevermeister/d70d06abd6ff2bb934aed6f7035d0820 to your computer and use it in GitHub Desktop.
Save stevermeister/d70d06abd6ff2bb934aed6f7035d0820 to your computer and use it in GitHub Desktop.
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