stream.Duplex 类


双工流(Duplex)是同时实现了 ReadableWritable 接口的流。

Duplex 流的例子包括:

Duplex streams are streams that implement both the Readable and Writable interfaces.

Examples of Duplex streams include: