Skip to content

Instantly share code, notes, and snippets.

@gabrielseco
Created February 25, 2017 19:32
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 gabrielseco/7d5ae64b61cc66a7d8c06dbae0e77ca2 to your computer and use it in GitHub Desktop.
Save gabrielseco/7d5ae64b61cc66a7d8c06dbae0e77ca2 to your computer and use it in GitHub Desktop.
Rx Range
var source = Rx.Observable.range(1, 5);
source.subscribe(next => {
console.log('next value', next)
}, error => {
console.log('err', err);
}, () => console.log('completed'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment