Type Parameters

  • EventName extends string | number | symbol

  • Event

Hierarchy

  • EventBus

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • EventName extends string | number | symbol

    • Event

    Returns EventBus<EventName, Event>

Properties

listenerMap: any
off: any

Methods

  • Parameters

    • name: EventName
    • event: Event

    Returns void

  • Returns void

  • Parameters

    • name: EventName
    • listener: Listener<Event>

    Returns (() => void)

      • (): void
      • Returns void

  • Parameters

    • name: EventName
    • listener: Listener<Event>

    Returns (() => void)

      • (): void
      • Returns void

Generated using TypeDoc