We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I noticed that in some scenarios, if you pass an incomplete anonymous observer, which should totally work, it throw errors... for example:
Observable.of(1).subscribe({ next(x) { console.log(x); } });
Also, I've noticed that the Observer interface doesn't allow for optional handlers, so we need to adjust for that.
The text was updated successfully, but these errors were encountered:
@Blesh I thought we used to have the same logic in the Subscriber constructor as we do in the static create method?
Subscriber
create
Sorry, something went wrong.
It's just silly bugs around not checking to see if destination actually has a complete before calling it, for example.
complete
test(Observable.prototype.subscribe): test passing anonymous observers
490619b
add tests to be sure all permutations of objects that could be observers can be passed without error related #723
a11c763
benlesh
No branches or pull requests
I noticed that in some scenarios, if you pass an incomplete anonymous observer, which should totally work, it throw errors... for example:
Also, I've noticed that the Observer interface doesn't allow for optional handlers, so we need to adjust for that.
The text was updated successfully, but these errors were encountered: