rl.pause()


rl.pause() 方法暂停 input 流,允许它稍后在必要时恢复。

¥The rl.pause() method pauses the input stream, allowing it to be resumed later if necessary.

调用 rl.pause() 不会立即暂停其他由 InterfaceConstructor 实例触发的事件(包括 'line')。

¥Calling rl.pause() does not immediately pause other events (including 'line') from being emitted by the InterfaceConstructor instance.