Interface TransformStreamDefaultController<O>
interface TransformStreamDefaultController<O> {
desiredSize: number;
enqueue(chunk?: O): void;
error(reason?: any): void;
terminate(): void;
}
desiredSize: number;
enqueue(chunk?: O): void;
error(reason?: any): void;
terminate(): void;
}
Type Parameters
Index
Properties
Methods
Methods
enqueue
- enqueue(chunk?): void
Parameters
Optional
chunk: O
Returns void
MDN Reference