Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
interface ReadableStreamFromReaderOptions
Deprecated
Deprecated

This will be removed in 1.0.0. Use toReadableStream instead.

import { type ReadableStreamFromReaderOptions } from "https://deno.land/std@0.224.0/streams/mod.ts";

Properties

optional
autoClose: boolean = true

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

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.