in rxjava (or rx in general), there way combine observables in way resulting observable waits until every observables finished in either way (does not freak out when of them throws error) , complete single result containing information observable finished , encountered error?
it additionally return observable's result, if completed successfully, or error cause (such throwable instance) when completed failure?
the behavior similar (rsvp.js):
https://github.com/tildeio/rsvp.js/#all-settled-and-hash-settled
i optionally implement concept similar scala's try, wrap values emitted such observables try values , use http://reactivex.io/documentation/operators/catch.html handle errors , convert them error values... manual work , hence wanted know if there pre-made operator missed or didn't understand correctly when reading documentation
edit: doesn't need single result, go observable emits values wrapped in try constructs :)
.materialize() may looking for. converts observable<t> observable<notification<t>> notification either value or error or completion.
Comments
Post a Comment