From 3cfa55c3f2c66a96fd92ba8af94e40fb5b4f8c02 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Mon, 16 Oct 2023 17:49:35 -0500 Subject: [PATCH] doc: update api `stream.compose` --- doc/api/stream.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index b9c4b4c2ac86f0..76378be9e7dfb6 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2824,6 +2824,10 @@ const server = http.createServer((req, res) => { added: v16.9.0 changes: - version: + - REPLACEME + pr-url: https://github.com/nodejs/node/pull/50187 + description: Added support for stream class. + pr-url: - v19.8.0 - v18.16.0 pr-url: https://github.com/nodejs/node/pull/46675 @@ -2833,7 +2837,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