1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 02:28:12 +00:00

LibWeb: Add ReadableStreamByteController interface

This commit is contained in:
Matthew Olsson 2023-04-11 16:33:32 -07:00 committed by Linus Groh
parent c7aa4fa166
commit 819b6332d1
10 changed files with 253 additions and 1 deletions

View file

@ -0,0 +1,12 @@
#import <Streams/ReadableStreamBYOBRequest.idl>
[Exposed=*]
interface ReadableByteStreamController {
readonly attribute ReadableStreamBYOBRequest? byobRequest;
readonly attribute unrestricted double? desiredSize;
// FIXME: Implement
// undefined close();
// undefined enqueue(ArrayBufferView chunk);
// undefined error(optional any e);
};