Skip to main content

fromWeb

method default.Readable.fromWeb
unstable
Jump to headingReadable.fromWeb(
readableStream: streamWeb.ReadableStream,
options?: Pick<ReadableOptions,
"encoding"
| "highWaterMark"
| "objectMode"
| "signal"
>
,
): Readable

A utility method for creating a Readable from a web ReadableStream.

Parameters Jump to heading

Jump to headingreadableStream: streamWeb.ReadableStream
optional
Jump to headingoptions: Pick<ReadableOptions,
"encoding"
| "highWaterMark"
| "objectMode"
| "signal"
>

Return Type Jump to heading

Back to top