Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/proc/legacy/deps.ts>ToReadableStreamOptions

A better way to work with processes in Deno.
Very Popular
Latest
interface ToReadableStreamOptions
import { type ToReadableStreamOptions } from "https://deno.land/x/proc@0.21.9/legacy/deps.ts";

Options for toReadableStream.

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: QueuingStrategy<Uint8Array>

The queuing strategy to create the ReadableStream with.