From ab6b786e9db046f2fee0211c7f7ef2614dc3da84 Mon Sep 17 00:00:00 2001 From: rickyes Date: Wed, 1 Jul 2020 18:22:53 +0800 Subject: [PATCH] doc: add streams to the pipeline function signature PR-URL: https://github.com/nodejs/node/pull/34153 Reviewed-By: Robert Nagy Reviewed-By: James M Snell --- doc/api/stream.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/stream.md b/doc/api/stream.md index 749593f92c7836..ef3216828573c7 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -1598,6 +1598,7 @@ const cleanup = finished(rs, (err) => { ``` ### `stream.pipeline(source[, ...transforms], destination, callback)` +### `stream.pipeline(streams, callback)` +* `streams` {Stream[]|Iterable[]|AsyncIterable[]|Function[]} * `source` {Stream|Iterable|AsyncIterable|Function} * Returns: {Iterable|AsyncIterable} * `...transforms` {Stream|Function}