Skip to content

Commit

Permalink
doc: update api stream.compose
Browse files Browse the repository at this point in the history
PR-URL: #50206
Refs: https://github.com/nodejs/node/pull/50187/files#r1361215879
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
  • Loading branch information
himself65 authored Oct 19, 2023
1 parent 2e4bb3c commit c016397
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 c016397

Please sign in to comment.