Closed
Description
Would it be possible to add an intermediate interface between Subscription
and the default Subscription implementations that exposes the isUnsubscribed
method?
I can only offer the use cases in the upcoming rxjava-async-util module where certain operators can use a shared cancellation token. The alternative is to ask the clients to wrap their token into BooleanSubscription and don't forget to unsubscribe it instead of the wrapped subscription.
Metadata
Metadata
Assignees
Labels
No labels