method REPLServer.prototype.on
#REPLServer.prototype.on(event: string,listener: (...args: any[]) => void,): this
#REPLServer.prototype.on(event: "close",listener: () => void,): this
#REPLServer.prototype.on(event: "line",listener: (input: string) => void,): this
#REPLServer.prototype.on(event: "pause",listener: () => void,): this
#REPLServer.prototype.on(event: "resume",listener: () => void,): this
#REPLServer.prototype.on(event: "SIGCONT",listener: () => void,): this
#REPLServer.prototype.on(event: "SIGINT",listener: () => void,): this
#REPLServer.prototype.on(event: "SIGTSTP",listener: () => void,): this
#REPLServer.prototype.on(event: "exit",listener: () => void,): this