Skip to content

Instantly share code, notes, and snippets.

@cburgdorf
Created March 29, 2012 12:20
Show Gist options
  • Save cburgdorf/2236772 to your computer and use it in GitHub Desktop.
Save cburgdorf/2236772 to your computer and use it in GitHub Desktop.
Is this a bug?
Rx.Observable.fromArray([1, 2, 3])
.concat(Rx.Observable.throwException("woah nellie!"))
.retry(3)
.onErrorResumeNext()
.subscribe(
function (next) {
console.log(next);
});
1
2
3
1
2
3
1
2
3
TypeError: Cannot call method 'subscribe' of undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment