Skip to main content
ReadableStreamDefaultController - stream/web - Node documentation
interface ReadableStreamDefaultController

Usage in Deno

import { type ReadableStreamDefaultController } from "node:stream/web";

Type Parameters

R = any

Properties

readonly
desiredSize: number | null

Methods

close(): void
enqueue(chunk?: R): void
error(e?: any): void

Type Parameters

R = any