rl.close()


新增于: v0.1.98

rl.close() 方法关闭 readline.Interface 实例并放弃对 inputoutput 流的控制。当调用时,将触发 'close' 事件。

\The rl.close() method closes the readline.Interface instance and relinquishes control over the input and output streams. When called, the 'close' event will be emitted.

调用 rl.close() 不会立即阻止其他由 readline.Interface 实例触发的事件(包括 'line')。

\Calling rl.close() does not immediately stop other events (including 'line') from being emitted by the readline.Interface instance.

AltStyle によって変換されたページ (->オリジナル) /