diff --git a/doc/api/stream.md b/doc/api/stream.md index 53e0994d10b720..adff01bb470bd3 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -1486,6 +1486,21 @@ unless `emitClose` is set in false. ### `stream.finished(stream[, options], callback)` * `stream` {Stream} A readable and/or writable stream. @@ -1563,6 +1578,12 @@ changes: - version: v13.10.0 pr-url: https://github.com/nodejs/node/pull/31223 description: Add support for async generators. + - version: v14.0.0 + pr-url: https://github.com/nodejs/node/pull/32158 + description: The `pipeline(..., cb)` will wait for the `'close'` event + before invoking the callback. The implementation tries to + detect legacy streams and only apply this behavior to streams + which are expected to emit `'close'`. --> * `source` {Stream|Iterable|AsyncIterable|Function}