Class Domain
Hierarchy
-
EventEmitter
- Domain
Implements
Index
Properties
members
Static defaultMaxListeners
Methods
add
-
Parameters
-
emitter: events.EventEmitter
Returns void
-
addListener
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
bind
-
Parameters
-
cb: function
-
-
Parameters
-
err: Error
-
data: any
Returns any
-
-
-
Returns any
-
dispose
-
Returns void
emit
-
Parameters
-
event: string | symbol
-
Rest ...args: any[]
Returns boolean
-
enter
-
Returns void
eventNames
-
Returns (string | symbol)[]
exit
-
Returns void
getMaxListeners
-
Returns number
intercept
-
Parameters
-
cb: function
-
-
Parameters
-
data: any
Returns any
-
-
-
Returns any
-
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
-
remove
-
Parameters
-
emitter: events.EventEmitter
Returns void
-
removeAllListeners
-
Parameters
-
Optional event: string | symbol
Returns this
-
removeListener
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
run
-
Parameters
-
fn: Function
Returns void
-
setMaxListeners
-
Parameters
-
n: number
Returns this
-
Static listenerCount
-
Parameters
-
emitter: EventEmitter
-
event: string | symbol
Returns number
-
Generated using TypeDoc