- 继承自: {EventEmitter}
readline.Interface
类的实例是使用 readline.createInterface()
方法构造的。
每个实例都关联一个 input
[可读流][Readable]和一个 output
[可写流][Writable]。
output
流用于为到达的用户输入打印提示,并从 input
流读取。
readline.Interface
类的实例是使用 readline.createInterface()
方法构造的。
每个实例都关联一个 input
[可读流][Readable]和一个 output
[可写流][Writable]。
output
流用于为到达的用户输入打印提示,并从 input
流读取。
若有收获,就点个赞吧
0 人点赞
让时间为你证明