Skip to main content
method internal.Readable.fromWeb
unstable
Readable.fromWeb(
readableStream: streamWeb.ReadableStream,
options?: Pick<ReadableOptions,
"encoding"
| "highWaterMark"
| "objectMode"
| "signal"
>
,
): Readable
Deprecated

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

Parameters

readableStream: streamWeb.ReadableStream
optional
options: Pick<ReadableOptions,
"encoding"
| "highWaterMark"
| "objectMode"
| "signal"
>

Return Type

Back to top