Interface Domain
Hierarchy
-
Events
- Domain
Implemented by
Index
Methods
add
-
Parameters
-
emitter: Events
Returns void
-
addListener
-
Parameters
-
event: string
-
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
-
eventNames
-
Returns (string | symbol)[]
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
-
listener: Function
Returns this
-
once
-
Parameters
-
event: string
-
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
Returns void
-
removeAllListeners
-
Parameters
-
Optional event: string
Returns this
-
removeListener
-
Parameters
-
event: string
-
listener: Function
Returns this
-
run
-
Parameters
-
fn: Function
Returns void
-
setMaxListeners
-
Parameters
-
n: number
Returns this
-
Generated using TypeDoc