You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a piece of code where I basically have a cached value, which I want to combine with other data and update from the network.
My thought was using combineLatestDelayError and magic would happen! Except when the network is down... Even though I have valid values in both my observables I only end up getting the error.
There is one point in the documentation about the calls being synchronous, though it is not clear to me how I could make changes to my observables to avoid that situation 😿
The text was updated successfully, but these errors were encountered:
saiimons
changed the title
[2.0.x/2.1.x] CombineLatestDelayError throwing error before subscribing other observables
2.x - CombineLatestDelayError throwing error before subscribing other observables
Aug 22, 2017
Thanks for reporting, this is a bug with the operator not properly considering the DelayError setting in this synchronous situation. I can't give you a simple workaround; you could try and materialize the failing source and the combiner function could throw it via Exceptions.wrapOrThrow().
I am working on a piece of code where I basically have a cached value, which I want to combine with other data and update from the network.
My thought was using combineLatestDelayError and magic would happen! Except when the network is down... Even though I have valid values in both my observables I only end up getting the error.
I narrowed it down to a simple test case:
It always throws the Exception.
There is one point in the documentation about the calls being synchronous, though it is not clear to me how I could make changes to my observables to avoid that situation 😿
The text was updated successfully, but these errors were encountered: