Skip to main content
method REPLServer.prototype.emit
REPLServer.prototype.emit(
event: string | symbol,
...args: any[],
): boolean
Deprecated

Parameters

event: string | symbol
<span>...args</span>: any[]

Return Type

boolean
REPLServer.prototype.emit(event: "close"): boolean
Deprecated

Parameters

event: "close"

Return Type

boolean
REPLServer.prototype.emit(
event: "line",
input: string,
): boolean
Deprecated

Parameters

event: "line"
input: string

Return Type

boolean
REPLServer.prototype.emit(event: "pause"): boolean
Deprecated

Parameters

event: "pause"

Return Type

boolean
REPLServer.prototype.emit(event: "resume"): boolean
Deprecated

Parameters

event: "resume"

Return Type

boolean
REPLServer.prototype.emit(event: "SIGCONT"): boolean
Deprecated

Parameters

event: "SIGCONT"

Return Type

boolean
REPLServer.prototype.emit(event: "SIGINT"): boolean
Deprecated

Parameters

event: "SIGINT"

Return Type

boolean
REPLServer.prototype.emit(event: "SIGTSTP"): boolean
Deprecated

Parameters

event: "SIGTSTP"

Return Type

boolean
REPLServer.prototype.emit(event: "exit"): boolean
Deprecated

Parameters

event: "exit"

Return Type

boolean
REPLServer.prototype.emit(
event: "reset",
context: Context,
): boolean
Deprecated

Parameters

event: "reset"
context: Context

Return Type

boolean
Back to top