new readlinePromises.Readline(stream[, options])
stream
<stream.Writable> TTY 流。options
<Object>autoCommit
<boolean> 如果是true
,则不需要调用rl.commit()
。
stream
<stream.Writable> A TTY stream.options
<Object>autoCommit
<boolean> Iftrue
, no need to callrl.commit()
.