-
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 defaultIfEmpty for Maybe #5417
Comments
It was probably overlooked but we can't change the type now. |
|
There is the |
Also |
OK. 👍 [IMO] I think that Thank you for answering my question 😄 |
Hi. I'm glad that I started using 2.x and be able to use Maybe.
I started using it, and wanted to ask a question.
Now
Maybe#defaultIfEmpty
returnsMaybe
, but because this operator guarantees to emit data, I think should beMaybe#defaultIfEmpty
returnsSingle
.I would like to know if there is a reason to return
Maybe
.The text was updated successfully, but these errors were encountered: