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

Parameters

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

Return Type

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

Parameters

event: "close"

Return Type

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

Parameters

event: "line"
input: string

Return Type

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

Parameters

event: "pause"

Return Type

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

Parameters

event: "resume"

Return Type

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

Parameters

event: "SIGCONT"

Return Type

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

Parameters

event: "SIGINT"

Return Type

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

Parameters

event: "SIGTSTP"

Return Type

boolean
Interface.prototype.emit(
event: "history",
history: string[],
): boolean
Deprecated

Parameters

event: "history"
history: string[]

Return Type

boolean
Back to top