2023-04-11 20:33:32 -03:00
|
|
|
#import <Streams/ReadableStreamBYOBRequest.idl>
|
|
|
|
|
|
2023-10-25 12:27:19 -03:00
|
|
|
// https://streams.spec.whatwg.org/#rbs-controller-class-definition
|
2023-04-11 20:33:32 -03:00
|
|
|
[Exposed=*]
|
|
|
|
|
interface ReadableByteStreamController {
|
|
|
|
|
readonly attribute ReadableStreamBYOBRequest? byobRequest;
|
|
|
|
|
readonly attribute unrestricted double? desiredSize;
|
|
|
|
|
|
2023-04-09 14:40:15 -03:00
|
|
|
undefined close();
|
2023-04-09 14:42:13 -03:00
|
|
|
undefined error(optional any e);
|
2023-12-02 05:45:40 -03:00
|
|
|
undefined enqueue(ArrayBufferView chunk);
|
2023-04-11 20:33:32 -03:00
|
|
|
};
|