Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface ReadableStreamFromReaderOptions
import { type ReadableStreamFromReaderOptions } from "https://deno.land/std@0.159.0/streams/conversion.ts";

Properties

optional
autoClose: boolean

If the reader is also a Deno.Closer, automatically close the reader when EOF is encountered, or a read error occurs.

Defaults to true.

optional
chunkSize: number

The size of chunks to allocate to read, the default is ~16KiB, which is the maximum size that Deno operations can currently support.

optional
strategy: { highWaterMark?: number | undefined; size?: undefined; }

The queuing strategy to create the ReadableStream with.