Skip to content

Commit

Permalink
doc: update api stream.compose
Browse files Browse the repository at this point in the history
  • Loading branch information
himself65 committed Oct 16, 2023
1 parent ef7363e commit 10789bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -2823,6 +2823,9 @@ const server = http.createServer((req, res) => {
<!-- YAML
added: v16.9.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/50187
description: Added support for stream class.
- version:
- v19.8.0
- v18.16.0
Expand All @@ -2833,7 +2836,7 @@ changes:
> Stability: 1 - `stream.compose` is experimental.
* `streams` {Stream\[]|Iterable\[]|AsyncIterable\[]|Function\[]|
ReadableStream\[]|WritableStream\[]|TransformStream\[]}
ReadableStream\[]|WritableStream\[]|TransformStream\[]|Duplex\[]|Function}
* Returns: {stream.Duplex}

Combines two or more streams into a `Duplex` stream that writes to the
Expand Down

0 comments on commit 10789bf

Please sign in to comment.