如何知道 Node.js stream pipe 完成October 7, 2021 · One min readAlanMaintainer of blogNode.js 的流调用 pipe 方法之后会返回一个新的流, 监听这个新流的finish事件就可以知道pipe完成了: