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

x/msgpack_rpc/deps.ts>streams.ReadableStreamFromReaderOptions

🦕 Deno module to support msgpack-rpc
Latest
interface streams.ReadableStreamFromReaderOptions
import { type streams } from "https://deno.land/x/msgpack_rpc@v4.0.0/deps.ts";
const { ReadableStreamFromReaderOptions } = streams;

Properties

optional
autoClose: boolean

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

Defaults to true.

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.