Interface: EngineEventTarget
CloudControl Pro 9 Docs / engines / EngineEventTarget
Interface: EngineEventTarget
engines.EngineEventTarget
Hierarchy
-
EngineEventTarget
Table of contents
Methods
- addListener
- eventNames
- getMaxListeners
- listenerCount
- listeners
- off
- on
- once
- prependListener
- prependOnceListener
- rawListeners
- removeAllListeners
- removeListener
- setMaxListeners
Methods
addListener
▸ addListener(event
, listener
): EngineEventTarget
Parameters
Name | Type |
---|---|
event |
string |
listener |
(...args : any []) => void |
Returns
eventNames
▸ eventNames(): string
[]
Returns
string
[]
getMaxListeners
▸ getMaxListeners(): number
Returns
number
listenerCount
▸ listenerCount(event
): number
Parameters
Name | Type |
---|---|
event |
string |
Returns
number
listeners
▸ listeners(event
): Function
[]
Parameters
Name | Type |
---|---|
event |
string |
Returns
Function
[]
off
▸ off(event
, listener
): EngineEventTarget
Parameters
Name | Type |
---|---|
event |
string |
listener |
(...args : any []) => void |
Returns
on
▸ on(event
, listener
): EngineEventTarget
Parameters
Name | Type |
---|---|
event |
string |
listener |
(...args : any []) => void |
Returns
once
▸ once(event
, listener
): EngineEventTarget
Parameters
Name | Type |
---|---|
event |
string |
listener |
(...args : any []) => void |
Returns
prependListener
▸ prependListener(event
, listener
): EngineEventTarget
Parameters
Name | Type |
---|---|
event |
string |
listener |
(...args : any []) => void |
Returns
prependOnceListener
▸ prependOnceListener(event
, listener
): EngineEventTarget
Parameters
Name | Type |
---|---|
event |
string |
listener |
(...args : any []) => void |
Returns
rawListeners
▸ rawListeners(event
): Function
[]
Parameters
Name | Type |
---|---|
event |
string |
Returns
Function
[]
removeAllListeners
▸ removeAllListeners(event?
): EngineEventTarget
Parameters
Name | Type |
---|---|
event? |
string |
Returns
removeListener
▸ removeListener(event
, listener
): EngineEventTarget
Parameters
Name | Type |
---|---|
event |
string |
listener |
(...args : any []) => void |
Returns
setMaxListeners
▸ setMaxListeners(n
): EngineEventTarget
Parameters
Name | Type |
---|---|
n |
number |