import { type ReadableStream } from "https://deno.land/x/evt@v2.4.20/lib/types/lib.dom.ts";
This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.
Methods
getReader(options: { mode: "byob"; }): ReadableStreamBYOBReader
getReader(): ReadableStreamDefaultReader<R>
pipeThrough<T>(unnamed 0: { writable: WritableStream<R>; readable: ReadableStream<T>; }, options?: PipeOptions): ReadableStream<T>
pipeTo(dest: WritableStream<R>, options?: PipeOptions): Promise<void>
tee(): [ReadableStream<R>, ReadableStream<R>]