import { type ReadableStream } from "https://deno.land/x/yxz@0.32.0/typing/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(): ReadableStreamDefaultReader<R>
pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>
tee(): [ReadableStream<R>, ReadableStream<R>]