Extends
Properties
Methods
M addListener(event: string, listener: function) NodeJS.EventEmitter
Parameters:
Name | Type |
---|---|
event |
string |
listener |
function |
- Inherited From:
Parameters:
Name | Type | Argument |
---|---|---|
event |
string | |
...args |
any |
<repeatable> |
- Inherited From:
M end(buffer: Buffer, cb: function) void
Parameters:
Name | Type | Argument |
---|---|---|
str |
string | |
cb |
function |
<optional> |
Parameters:
Name | Type | Argument |
---|---|---|
str |
string | |
encoding |
string |
<optional> |
cb |
function |
<optional> |
Parameters:
Name | Type |
---|---|
event |
string |
- Inherited From:
M on(event: string, listener: function) NodeJS.EventEmitter
Parameters:
Name | Type |
---|---|
event |
string |
listener |
function |
- Inherited From:
M once(event: string, listener: function) NodeJS.EventEmitter
Parameters:
Name | Type |
---|---|
event |
string |
listener |
function |
- Inherited From:
M removeAllListeners(event: string) NodeJS.EventEmitter
Parameters:
Name | Type | Argument |
---|---|---|
event |
string |
<optional> |
- Inherited From:
M removeListener(event: string, listener: function) NodeJS.EventEmitter
Parameters:
Name | Type |
---|---|
event |
string |
listener |
function |
- Inherited From:
Parameters:
Name | Type |
---|---|
n |
number |
- Inherited From:
M write(buffer: Buffer, cb: function) boolean
Parameters:
Name | Type | Argument |
---|---|---|
str |
string | |
cb |
function |
<optional> |
Parameters:
Name | Type | Argument |
---|---|---|
str |
string | |
encoding |
string |
<optional> |
cb |
function |
<optional> |