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 <[email protected]>
Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
  • Loading branch information
himself65 authored and targos committed Nov 11, 2023
1 parent 696ba93 commit 4b50335
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -2850,15 +2850,20 @@ const server = http.createServer((req, res) => {
<!-- YAML
added: v16.9.0
changes:
- version: v19.8.0
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/50187
description: Added support for stream class.
- version:
- v19.8.0
- v18.16.0
pr-url: https://github.com/nodejs/node/pull/46675
description: Added support for webstreams.
-->

> 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 4b50335

Please sign in to comment.