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
The behavior between Observer.empty() and EmptyObserver is different. This seems confusing.
EmptyObserver
EmptyObserver swallows errors whereas Observer.empty() will throw OnErrorNotImplementedException if onError is invoked.
Observer.empty()
OnErrorNotImplementedException
onError
Thoughts on what we should do?
The text was updated successfully, but these errors were encountered:
I think deleting EmptyObserver is the best approach. It serves no value.
Sorry, something went wrong.
Delete EmptyObserver
00e4a63
It creates no value and confuses with Observers.empty() which throws an OnErrorNotImplementedException if onError is invoked. Fixes ReactiveX#1741
I deleted EmptyObserver and updated the Observers.empty() javadocs to be clear that it throws OnErrorNotImplementedException.
Observers.empty()
If someone wants to swallow errors they need to actively code for that. RxJava will not swallow errors itself.
Like!
No branches or pull requests
The behavior between Observer.empty() and
EmptyObserver
is different. This seems confusing.EmptyObserver
swallows errors whereasObserver.empty()
will throwOnErrorNotImplementedException
ifonError
is invoked.Thoughts on what we should do?
The text was updated successfully, but these errors were encountered: