Type Parameters

Implements

Constructors

Properties

handlers: Map<keyof E, EventHandler<E[keyof E]>[]> = ...

Methods

  • Emit an event on the event bus

    Type Parameters

    • EventName extends string | number | symbol

    Parameters

    Returns void

  • Get the version of this event bus instance This is used for compatibility checking

    Returns string