Class TypedEventDispatcher<T>

Type Parameters

  • T = void

Constructors

Properties

Constructors

Properties

dispatch: ((data) => void)

Dispatches the TypedEvent, optionally passing some data.

Type declaration

    • (data): void
    • Parameters

      • data: T

      Returns void

getter: TypedEvent<T>

Holds the respective TypedEvent of this dispatcher.