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

x/dtils/deps.ts>streamUtils.ReadableStreamFromReaderOptions

The best unofficial library of utilities for Deno applications
Go to Latest
interface streamUtils.ReadableStreamFromReaderOptions
import { type streamUtils } from "https://deno.land/x/dtils@2.0.0/deps.ts";
const { ReadableStreamFromReaderOptions } = streamUtils;

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.