Interface ReadableStreamDefaultController<R>
interface ReadableStreamDefaultController<R> {
desiredSize: number;
close(): void;
enqueue(chunk?: R): void;
error(e?: any): void;
}
desiredSize: number;
close(): void;
enqueue(chunk?: R): void;
error(e?: any): void;
}
Type Parameters
Index
Properties
Methods
Methods
close
enqueue
- enqueue(chunk?): void
Parameters
Optional
chunk: R
Returns void
MDN Reference