A handle that allows de-registration from events.

interface EventHandle {
    remove(): void;
}

Methods

Methods

  • Stops listening for the event associated with this handle.

    Returns void