method default.Readable.fromWeb
Unstable
Usage in Deno
import default from "node:stream";
Readable.fromWeb(readableStream: streamWeb.ReadableStream,options?: Pick<ReadableOptions, "encoding"
| "highWaterMark"
| "objectMode"
| "signal">,): Readable
A utility method for creating a Readable
from a web ReadableStream
.
optional
options: Pick<ReadableOptions, "encoding"
| "highWaterMark"
| "objectMode"
| "signal">