-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
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
2.x: Convert Observable to Single without a default value #4588
Comments
@abersnaze didn't like throwing because being empty. Try your API through Edit wrong method name, fixed. |
|
Yeah sorry, |
I don't quite see how Also I'd rather have a |
You could restore |
So basically add to Observable + Flowable:
|
Yes. |
Alright cool will do |
Does singleElement() error on more than one but not on empty? |
Yes, that was kept and also why firstElement is there to ignore more without signalling. |
This can be closed right? |
With the RC3 changes I don't see an easy way of converting an Observable into a Single without giving a default value.
How do you feel about adding methods for that?
The text was updated successfully, but these errors were encountered: