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
@zsoltk Actually, what behaviour do we want? If we silently dispose subscription when one of the nodes in the workflow becomes unavailable then it might be unexpected, especially when you are treating workflow as Completable which leads to onComplete callback when it was canceled. If we throw error, then it should be handled by a client (at least swallowed with empty onError block).
We can offer two similarly named methods for the two use cases. One for "If this child attaches, I'll want to do something with it; if it doesn't, I don't care", one for "I expect this child to be attached; if it doesn't, it's an issue".
waitForChildAttached
when child is not and and won't be attachedonDestroy
of the nodeCancellationException
Single
should not usetakeUntil
for disposing subscription, it triggersCancellationException
becauseSingle
is forced to send either item or error.The text was updated successfully, but these errors were encountered: