Newer
Older
minerva / Userland / Libraries / LibWeb / Streams / ReadableByteStreamController.idl
@minerva minerva on 13 Jul 400 bytes Initial commit
#import <Streams/ReadableStreamBYOBRequest.idl>

// https://streams.spec.whatwg.org/#rbs-controller-class-definition
[Exposed=*]
interface ReadableByteStreamController {
    readonly attribute ReadableStreamBYOBRequest? byobRequest;
    readonly attribute unrestricted double? desiredSize;

    undefined close();
    undefined error(optional any e);
    undefined enqueue(ArrayBufferView chunk);
};