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
Went to use defaultIfEmpty and found it only accepts a single value .... instead of an Observable which means I can't pass in an Observable.error.
defaultIfEmpty
Observable
Observable.error
It would be very helpful to have defaultIfEmpty(Observable<T> t)
defaultIfEmpty(Observable<T> t)
The text was updated successfully, but these errors were encountered:
+1. Then tail in RxScala can be implemented by o.defaultIfEmpty(Observable.error(new UnsupportedOperationException("tail of empty list"))).drop(1)
tail
o.defaultIfEmpty(Observable.error(new UnsupportedOperationException("tail of empty list"))).drop(1)
Sorry, something went wrong.
Maybe switchIfEmpty would be a better name.
switchIfEmpty
No branches or pull requests
Went to use
defaultIfEmpty
and found it only accepts a single value .... instead of anObservable
which means I can't pass in anObservable.error
.It would be very helpful to have
defaultIfEmpty(Observable<T> t)
The text was updated successfully, but these errors were encountered: