We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nextHandler
This is coming from the TC39 proposal (cc @jhusain)
Basically, to match the behavior of EventTarget, an error in the handler shouldn't cause the source to stop emitting values. In other words:
Observable.interval(1000) .subscribe({ next(x) { if (x === 1) throw new Error('bad'); console.log(x); } }); // 0 // ERROR: bad [callstack vomit here] // 1 // 2 // 3 // ...
The text was updated successfully, but these errors were encountered:
@Blesh as far as I remember, it stops emitting, but doesn't tear down the Observable, so not quite what you have there. @jhusain am I correct here?
Sorry, something went wrong.
I think we're going to have to target this for v7. It's an important change, but it will incur a lot of breakage in the community I think.
No branches or pull requests
This is coming from the TC39 proposal (cc @jhusain)
Basically, to match the behavior of EventTarget, an error in the handler shouldn't cause the source to stop emitting values. In other words:
The text was updated successfully, but these errors were encountered: