MaddListener
Bun

method

repl.REPLServer.addListener

event: string,
listener: (...args: any[]) => void
): this;

events.EventEmitter

  1. close - inherited from readline.Interface
  2. line - inherited from readline.Interface
  3. pause - inherited from readline.Interface
  4. resume - inherited from readline.Interface
  5. SIGCONT - inherited from readline.Interface
  6. SIGINT - inherited from readline.Interface
  7. SIGTSTP - inherited from readline.Interface
  8. exit
  9. reset
event: 'close',
listener: () => void
): this;

events.EventEmitter

  1. close - inherited from readline.Interface
  2. line - inherited from readline.Interface
  3. pause - inherited from readline.Interface
  4. resume - inherited from readline.Interface
  5. SIGCONT - inherited from readline.Interface
  6. SIGINT - inherited from readline.Interface
  7. SIGTSTP - inherited from readline.Interface
  8. exit
  9. reset
event: 'line',
listener: (input: string) => void
): this;

events.EventEmitter

  1. close - inherited from readline.Interface
  2. line - inherited from readline.Interface
  3. pause - inherited from readline.Interface
  4. resume - inherited from readline.Interface
  5. SIGCONT - inherited from readline.Interface
  6. SIGINT - inherited from readline.Interface
  7. SIGTSTP - inherited from readline.Interface
  8. exit
  9. reset
event: 'pause',
listener: () => void
): this;

events.EventEmitter

  1. close - inherited from readline.Interface
  2. line - inherited from readline.Interface
  3. pause - inherited from readline.Interface
  4. resume - inherited from readline.Interface
  5. SIGCONT - inherited from readline.Interface
  6. SIGINT - inherited from readline.Interface
  7. SIGTSTP - inherited from readline.Interface
  8. exit
  9. reset
event: 'resume',
listener: () => void
): this;

events.EventEmitter

  1. close - inherited from readline.Interface
  2. line - inherited from readline.Interface
  3. pause - inherited from readline.Interface
  4. resume - inherited from readline.Interface
  5. SIGCONT - inherited from readline.Interface
  6. SIGINT - inherited from readline.Interface
  7. SIGTSTP - inherited from readline.Interface
  8. exit
  9. reset
event: 'SIGCONT',
listener: () => void
): this;

events.EventEmitter

  1. close - inherited from readline.Interface
  2. line - inherited from readline.Interface
  3. pause - inherited from readline.Interface
  4. resume - inherited from readline.Interface
  5. SIGCONT - inherited from readline.Interface
  6. SIGINT - inherited from readline.Interface
  7. SIGTSTP - inherited from readline.Interface
  8. exit
  9. reset
event: 'SIGINT',
listener: () => void
): this;

events.EventEmitter

  1. close - inherited from readline.Interface
  2. line - inherited from readline.Interface
  3. pause - inherited from readline.Interface
  4. resume - inherited from readline.Interface
  5. SIGCONT - inherited from readline.Interface
  6. SIGINT - inherited from readline.Interface
  7. SIGTSTP - inherited from readline.Interface
  8. exit
  9. reset
event: 'SIGTSTP',
listener: () => void
): this;

events.EventEmitter

  1. close - inherited from readline.Interface
  2. line - inherited from readline.Interface
  3. pause - inherited from readline.Interface
  4. resume - inherited from readline.Interface
  5. SIGCONT - inherited from readline.Interface
  6. SIGINT - inherited from readline.Interface
  7. SIGTSTP - inherited from readline.Interface
  8. exit
  9. reset
event: 'exit',
listener: () => void
): this;

events.EventEmitter

  1. close - inherited from readline.Interface
  2. line - inherited from readline.Interface
  3. pause - inherited from readline.Interface
  4. resume - inherited from readline.Interface
  5. SIGCONT - inherited from readline.Interface
  6. SIGINT - inherited from readline.Interface
  7. SIGTSTP - inherited from readline.Interface
  8. exit
  9. reset
event: 'reset',
listener: (context: Context) => void
): this;

events.EventEmitter

  1. close - inherited from readline.Interface
  2. line - inherited from readline.Interface
  3. pause - inherited from readline.Interface
  4. resume - inherited from readline.Interface
  5. SIGCONT - inherited from readline.Interface
  6. SIGINT - inherited from readline.Interface
  7. SIGTSTP - inherited from readline.Interface
  8. exit
  9. reset