Skip to content

Commit 7f2cf0f

Browse files
rickyesjasnell
authored andcommitted
doc: add streams to the pipeline function signature
PR-URL: #34153 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 2110fad commit 7f2cf0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/stream.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,6 +1597,7 @@ const cleanup = finished(rs, (err) => {
15971597
```
15981598

15991599
### `stream.pipeline(source[, ...transforms], destination, callback)`
1600+
### `stream.pipeline(streams, callback)`
16001601
<!-- YAML
16011602
added: v10.0.0
16021603
changes:
@@ -1611,6 +1612,7 @@ changes:
16111612
which are expected to emit `'close'`.
16121613
-->
16131614

1615+
* `streams` {Stream[]|Iterable[]|AsyncIterable[]|Function[]}
16141616
* `source` {Stream|Iterable|AsyncIterable|Function}
16151617
* Returns: {Iterable|AsyncIterable}
16161618
* `...transforms` {Stream|Function}

0 commit comments

Comments
 (0)