Returned from an event subscription. Provides functionality for cleaning up listeners

interface IEventToken {
    unsubscribe(): void;
}

Methods

Methods

  • Returns void

    Removes registered listener from an event