ToReadableStreamOptions

import { ToReadableStreamOptions } from "jsr:@ende/io";

interface

interface ToReadableStreamOptions

Options for toReadableStream.

Properties

autoClose

autoClose?: boolean

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

Default: true

chunkSize

chunkSize?: number

The size of chunks to allocate to read.

Default: 16640

strategy

strategy?: QueuingStrategy<Uint8Array>

The queuing strategy to create the ReadableStream with.

Source