Skip to main content
Module

x/workerio/readable_stream.ts>ReadableStreamFromWorkerOptions

🦕 Deno module to translate Worker's system of messages into Reader and Writer
Go to Latest
interface ReadableStreamFromWorkerOptions
import { type ReadableStreamFromWorkerOptions } from "https://deno.land/x/workerio@v3.0.0/readable_stream.ts";

Options for creating a readable stream from a worker.

Properties

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.