W3cubDocs

/Deno

ReadableStreamDefaultController

interface ReadableStreamDefaultController <R = any> {
readonly desiredSize: number | null;
close(): void;
enqueue(chunk: R): void;
error(error?: any): void;
}
var ReadableStreamDefaultController: { };

Type Parameters

R = any

Properties

readonly desiredSize: number | null

Methods

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