Skip to content

Commit ce9d84e

Browse files
himself65targos
authored andcommitted
doc: update api stream.compose
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]>
1 parent 7c6e4d7 commit ce9d84e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/api/stream.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2823,6 +2823,9 @@ const server = http.createServer((req, res) => {
28232823
<!-- YAML
28242824
added: v16.9.0
28252825
changes:
2826+
- version: REPLACEME
2827+
pr-url: https://github.com/nodejs/node/pull/50187
2828+
description: Added support for stream class.
28262829
- version:
28272830
- v19.8.0
28282831
- v18.16.0
@@ -2833,7 +2836,7 @@ changes:
28332836
> Stability: 1 - `stream.compose` is experimental.
28342837
28352838
* `streams` {Stream\[]|Iterable\[]|AsyncIterable\[]|Function\[]|
2836-
ReadableStream\[]|WritableStream\[]|TransformStream\[]}
2839+
ReadableStream\[]|WritableStream\[]|TransformStream\[]|Duplex\[]|Function}
28372840
* Returns: {stream.Duplex}
28382841

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

0 commit comments

Comments
 (0)