Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TypedEventEmitter<Events>

Type parameters

  • Events

Hierarchy

Index

Methods

addListener

emit

  • emit<E>(event: E, ...args: Arguments<Events[E]>): boolean

eventNames

  • eventNames(): (string | symbol | keyof Events)[]

getMaxListeners

  • getMaxListeners(): number

listenerCount

  • listenerCount<E>(event: E): number

listeners

  • listeners<E>(event: E): Function[]

off

on

once

prependListener

prependOnceListener

rawListeners

  • rawListeners<E>(event: E): Function[]

removeAllListeners

removeListener

setMaxListeners

Generated using TypeDoc