Interface ISubscription
interface ISubscription
Extends IStandard
An object that represents a registration of an event listener
to receive notifications from an event source. This object
can be used to end the delivery of any further events to the
listener.
The logical subscription is not tied to the lifetime of this
object. The listener will continue to receive events until
unsubscribe is called or until the event source is destroyed.
Methods
unsubscribe()
void unsubscribe()
Unsubscribes the listener from the event source.
Calling this method more than one time has no effect.

