流的类型


¥Types of streams

Node.js 中有四种基本的流类型:

¥There are four fundamental stream types within Node.js:

此外,此模块还包括实用函数 stream.duplexPair()、stream.pipeline()、stream.finished() stream.Readable.from() 和 stream.addAbortSignal()。

¥Additionally, this module includes the utility functions stream.duplexPair(), stream.pipeline(), stream.finished() stream.Readable.from(), and stream.addAbortSignal().