Class Emitter<T>

Type Parameters

  • T

Constructors

Accessors

Methods

Constructors

  • Type Parameters

    • T

    Parameters

    Returns Emitter<T>

Accessors

  • get event(): Event<T>
  • For the public to allow to subscribe to events from this Emitter

    Returns Event<T>

Methods

  • Returns void

  • To be kept private to fire an event to subscribers

    Parameters

    • event: T

    Returns any