stream.Duplex 类


双工流是同时实现 ReadableWritable 接口的流。

Duplex 流的示例包括:

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

Examples of Duplex streams include: