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
{{ message }}
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
In the real world it could be happen that we want to clear all the subscriptions / disposables ,which are already added to the handler via manage*, earlier than the handler does .
So it would be great if you can provide a clear method to the Rx*Handler 👍
The text was updated successfully, but these errors were encountered:
Already prepared a PR for this. Then I came to the conclusion that there is not a single case when you want to clear those subscriptions earlier. Those manage* methods are for exactly one usecase, unsubscribing when a specific lifecycle callback gets called. When you want to unsubscribe all Subscriptions earlier you should manage them yourself.
When we'd add a clear() method you could accidentally unsubscribe things which aren't meant to be unsubscribed. Especially challenging in larger teams
In the real world it could be happen that we want to
clear
all thesubscriptions
/disposables
,which are already added to the handler viamanage*
, earlier than the handler does .So it would be great if you can provide a
clear
method to the Rx*Handler 👍The text was updated successfully, but these errors were encountered: