Skip to main content

emit

method Interface.prototype.emit
Jump to headingInterface.prototype.emit(
event: string | symbol,
...args: any[],
): boolean

Parameters Jump to heading

Jump to headingevent: string | symbol
Jump to heading<span>...args</span>: any[]

Return Type Jump to heading

boolean
Jump to headingInterface.prototype.emit(event: "close"): boolean

Parameters Jump to heading

Jump to headingevent: "close"

Return Type Jump to heading

boolean
Jump to headingInterface.prototype.emit(
event: "line",
input: string,
): boolean

Parameters Jump to heading

Jump to headingevent: "line"
Jump to headinginput: string

Return Type Jump to heading

boolean
Jump to headingInterface.prototype.emit(event: "pause"): boolean

Parameters Jump to heading

Jump to headingevent: "pause"

Return Type Jump to heading

boolean
Jump to headingInterface.prototype.emit(event: "resume"): boolean

Parameters Jump to heading

Jump to headingevent: "resume"

Return Type Jump to heading

boolean
Jump to headingInterface.prototype.emit(event: "SIGCONT"): boolean

Parameters Jump to heading

Jump to headingevent: "SIGCONT"

Return Type Jump to heading

boolean
Jump to headingInterface.prototype.emit(event: "SIGINT"): boolean

Parameters Jump to heading

Jump to headingevent: "SIGINT"

Return Type Jump to heading

boolean
Jump to headingInterface.prototype.emit(event: "SIGTSTP"): boolean

Parameters Jump to heading

Jump to headingevent: "SIGTSTP"

Return Type Jump to heading

boolean
Jump to headingInterface.prototype.emit(
event: "history",
history: string[],
): boolean

Parameters Jump to heading

Jump to headingevent: "history"
Jump to headinghistory: string[]

Return Type Jump to heading

boolean
Back to top