Class DispatchList<V>

Type Parameters

  • V

Constructors

Methods

  • Adds a handler

    Parameters

    • handler: Dispatch<V>
    • options: {
          once?: boolean;
      } = {}
      • Optionalonce?: boolean

    Returns string

  • Returns void

  • Returns true if list is empty

    Returns boolean

  • Parameters

    • value: V

    Returns void

  • Parameters

    • id: string

    Returns boolean