Represents a subscription to status change events that can be unsubscribed from. This
interface provides a way to clean up and remove subscriptions when they are no longer needed.
Example
consts = someService.onStatusChange(); consts2 = someOtherService.on() // Later when done with the subscription s.off(); s2.off();
Unsubscribes from the status change events. It will ensure that no
further status change events will be sent to the subscriber and
that references to the subscriber are cleaned up.
Represents a subscription to status change events that can be unsubscribed from. This interface provides a way to clean up and remove subscriptions when they are no longer needed.
Example