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

interface IEventToken {
    unsubscribe(): void;
}

Methods

Methods

  • Beta

    Returns void

    Removes registered listener from an event