method REPLServer.prototype.emitREPLServer.prototype.emit(event: string | symbol,...args: any[],): booleanDeprecatedParametersevent: string | symbol<span>...args</span>: any[]Return TypebooleanREPLServer.prototype.emit(event: "close"): booleanDeprecatedParametersevent: "close"Return TypebooleanREPLServer.prototype.emit(event: "line",input: string,): booleanDeprecatedParametersevent: "line"input: stringReturn TypebooleanREPLServer.prototype.emit(event: "pause"): booleanDeprecatedParametersevent: "pause"Return TypebooleanREPLServer.prototype.emit(event: "resume"): booleanDeprecatedParametersevent: "resume"Return TypebooleanREPLServer.prototype.emit(event: "SIGCONT"): booleanDeprecatedParametersevent: "SIGCONT"Return TypebooleanREPLServer.prototype.emit(event: "SIGINT"): booleanDeprecatedParametersevent: "SIGINT"Return TypebooleanREPLServer.prototype.emit(event: "SIGTSTP"): booleanDeprecatedParametersevent: "SIGTSTP"Return TypebooleanREPLServer.prototype.emit(event: "exit"): booleanDeprecatedParametersevent: "exit"Return TypebooleanREPLServer.prototype.emit(event: "reset",context: Context,): booleanDeprecatedParametersevent: "reset"context: ContextReturn Typeboolean