Interface TransformStreamDefaultController<O>
interface TransformStreamDefaultController<O = any> {
desiredSize: number;
enqueue(chunk?: O): void;
error(reason?: any): void;
terminate(): void;
}
desiredSize: number;
enqueue(chunk?: O): void;
error(reason?: any): void;
terminate(): void;
}
MDN Reference