onSubscriptionChanged property

Stream<bool> get onSubscriptionChanged

Emits the new isSubscribed value each time it changes: true on subscription_succeeded, false on a drop or a leave.

Multi-subscription and never replays, so read isSubscribed for the state at the moment a listener attaches.

Implementation

Stream<bool> get onSubscriptionChanged;