Skip to main content
ReadableStream.getReader - stream/web - Node documentation
method ReadableStream.getReader

Usage in Deno

import { type ReadableStream } from "node:stream/web";
ReadableStream.getReader(options: { mode: "byob"; }): ReadableStreamBYOBReader

Parameters

options: { mode: "byob"; }

Return Type

ReadableStream.getReader(): ReadableStreamDefaultReader<R>
ReadableStream.getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<R>

Parameters

Return Type

Back to top