Extends
Methods
M addListener(event: string, listener: function) events.EventEmitter
Parameters:
Name | Type |
---|---|
event |
string |
listener |
function |
- Inherited From:
Parameters:
Name | Type | Argument |
---|---|---|
event |
string | |
...args |
any |
<repeatable> |
- Inherited From:
M listenerCount(emitter: events.EventEmitter, event: string) number
Parameters:
Name | Type |
---|---|
event |
string |
- Inherited From:
M on(event: string, listener: function) events.EventEmitter
Parameters:
Name | Type |
---|---|
event |
string |
listener |
function |
- Inherited From:
M once(event: string, listener: function) events.EventEmitter
Parameters:
Name | Type |
---|---|
event |
string |
listener |
function |
- Inherited From:
M removeAllListeners(event: string) events.EventEmitter
Parameters:
Name | Type | Argument |
---|---|---|
event |
string |
<optional> |
- Inherited From:
M removeListener(event: string, listener: function) events.EventEmitter
Parameters:
Name | Type |
---|---|
event |
string |
listener |
function |
- Inherited From:
Parameters:
Name | Type |
---|---|
n |
number |
- Inherited From: