Extended EventEmitter that also emits all events to '*' listeners

Hierarchy (View Summary)

Constructors

Properties

processing: boolean = false
queue: Nip46Request[] = []
signer: ISigner
defaultMaxListeners: number

Methods

  • Parameters

    • type: string | number
    • listener: Listener

    Returns this

  • Emits an event to listeners and to '*' listeners

    Parameters

    • type: string

      Event type/name

    • ...args: any[]

      Arguments to pass to listeners

    Returns boolean

    True if event had listeners

  • Parameters

    Returns void

  • Returns (string | number)[]

  • Returns number

  • Parameters

    • type: string | number

    Returns number

  • Parameters

    • type: string | number

    Returns Listener[]

  • Parameters

    • type: string | number
    • listener: Listener

    Returns this

  • Parameters

    • type: string | number
    • listener: Listener

    Returns this

  • Parameters

    • type: string | number
    • listener: Listener

    Returns this

  • Parameters

    • type: string | number
    • listener: Listener

    Returns this

  • Parameters

    • type: string | number
    • listener: Listener

    Returns this

  • Returns Promise<void>

  • Parameters

    • type: string | number

    Returns Listener[]

  • Parameters

    • Optionaltype: string | number

    Returns this

  • Parameters

    • type: string | number
    • listener: Listener

    Returns this

  • Parameters

    Returns Promise<void>

  • Parameters

    • n: number

    Returns this

  • Returns void

  • Parameters

    • emitter: EventEmitter
    • type: string | number

    Returns number