From 73f06a6bd7b4b0181af650c19ea154845bfcb7fe 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 --- doc/api/stream.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/stream.md b/doc/api/stream.md index 588e7bdfd3a7a2..e122932f6d6f0b 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -1596,6 +1596,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}