From c3050a64732dbebd457bf0a4203ced96b341833b Mon Sep 17 00:00:00 2001 From: Warkanlock Date: Tue, 21 Jun 2022 10:03:03 +0200 Subject: [PATCH 01/10] stream: initial approach to include strategy options on Readable.toWeb() --- doc/api/stream.md | 3 ++- lib/internal/streams/readable.js | 4 ++-- lib/internal/webstreams/adapters.js | 7 +++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index 41a98aa827df74..386a5a8c7cdf6d 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2807,7 +2807,7 @@ added: Returns whether the stream is readable. -### `stream.Readable.toWeb(streamReadable)` +### `stream.Readable.toWeb(streamReadable[, strategy])`