ReadableStreamDefaultController
interface ReadableStreamDefaultController
<R = any> {
readonly desiredSize
: number | null;
close()
: void;
enqueue(
chunk: R)
: void;
error(
error?: any)
: void;
}
var ReadableStreamDefaultController
: {
prototype: ReadableStreamDefaultController;
new (): ReadableStreamDefaultController;
};
Type Parameters
R = any
Properties
readonly desiredSize
: number | null
Methods
close()
: void
enqueue(
chunk: R)
: void
error(
error?: any)
: void
© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/ReadableStreamDefaultController