Interface Events
Hierarchy
-
EventEmitter
- Events
Index
Methods
addListener
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
emit
-
Parameters
-
event: string | symbol
-
Rest ...args: any[]
Returns boolean
-
eventNames
-
Returns (string | symbol)[]
getMaxListeners
-
Returns number
listenerCount
-
Parameters
-
type: string | symbol
Returns number
-
listeners
-
Parameters
-
event: string | symbol
Returns Function[]
-
on
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
once
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
prependListener
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
prependOnceListener
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
removeAllListeners
-
Parameters
-
Optional event: string | symbol
Returns this
-
removeListener
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
setMaxListeners
-
Parameters
-
n: number
Returns this
-
Generated using TypeDoc