Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/src/deps/streams.ts>ReadableStreamFromReaderOptions

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
interface ReadableStreamFromReaderOptions
import { type ReadableStreamFromReaderOptions } from "https://deno.land/x/proc@0.20.10/src/deps/streams.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.