method REPLServer.prototype.addListener
Overload 1
#REPLServer.prototype.addListener(event: string,listener: (...args: any[]) => void,): thisevents.EventEmitter
- close - inherited from
readline.Interface - line - inherited from
readline.Interface - pause - inherited from
readline.Interface - resume - inherited from
readline.Interface - SIGCONT - inherited from
readline.Interface - SIGINT - inherited from
readline.Interface - SIGTSTP - inherited from
readline.Interface - exit
- reset
Parameters #
Return Type #
this Overload 2
#REPLServer.prototype.addListener(event: "close",listener: () => void,): thisOverload 3
#REPLServer.prototype.addListener(event: "line",listener: (input: string) => void,): thisOverload 4
#REPLServer.prototype.addListener(event: "pause",listener: () => void,): thisOverload 5
#REPLServer.prototype.addListener(event: "resume",listener: () => void,): thisOverload 6
#REPLServer.prototype.addListener(event: "SIGCONT",listener: () => void,): thisOverload 7
#REPLServer.prototype.addListener(event: "SIGINT",listener: () => void,): thisOverload 8
#REPLServer.prototype.addListener(event: "SIGTSTP",listener: () => void,): thisOverload 9
#REPLServer.prototype.addListener(event: "exit",listener: () => void,): this