Skip to main content

emit

method REPLServer.prototype.emit
Jump to headingREPLServer.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 headingREPLServer.prototype.emit(event: "close"): boolean

Parameters Jump to heading

Jump to headingevent: "close"

Return Type Jump to heading

boolean
Jump to headingREPLServer.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 headingREPLServer.prototype.emit(event: "pause"): boolean

Parameters Jump to heading

Jump to headingevent: "pause"

Return Type Jump to heading

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

Parameters Jump to heading

Jump to headingevent: "resume"

Return Type Jump to heading

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

Parameters Jump to heading

Jump to headingevent: "SIGCONT"

Return Type Jump to heading

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

Parameters Jump to heading

Jump to headingevent: "SIGINT"

Return Type Jump to heading

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

Parameters Jump to heading

Jump to headingevent: "SIGTSTP"

Return Type Jump to heading

boolean
Jump to headingREPLServer.prototype.emit(event: "exit"): boolean

Parameters Jump to heading

Jump to headingevent: "exit"

Return Type Jump to heading

boolean
Jump to headingREPLServer.prototype.emit(
event: "reset",
context: Context,
): boolean

Parameters Jump to heading

Return Type Jump to heading

boolean
Back to top