W3cubDocs

/Deno

TransformStreamDefaultController

interface TransformStreamDefaultController <O = any> {
readonly desiredSize: number | null;
enqueue(chunk: O): void;
error(reason?: any): void;
terminate(): void;
}
var TransformStreamDefaultController: TransformStreamDefaultController;

Type Parameters

O = any

Properties

readonly desiredSize: number | null

Methods

enqueue(chunk: O): void
error(reason?: any): void
terminate(): void