diff options
author | Matthew Olsson <matthewcolsson@gmail.com> | 2023-04-11 16:33:32 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-04-12 01:47:48 +0200 |
commit | 819b6332d13b38521f21fcdf848fb794027ad59d (patch) | |
tree | 1fa946d4d8aa04015288afccf2b456f586cd38a4 /Userland/Libraries/LibWeb/Streams/ReadableByteStreamController.idl | |
parent | c7aa4fa166163ac877daeefe46b85a09d8b77454 (diff) | |
download | serenity-819b6332d13b38521f21fcdf848fb794027ad59d.zip |
LibWeb: Add ReadableStreamByteController interface
Diffstat (limited to 'Userland/Libraries/LibWeb/Streams/ReadableByteStreamController.idl')
-rw-r--r-- | Userland/Libraries/LibWeb/Streams/ReadableByteStreamController.idl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Streams/ReadableByteStreamController.idl b/Userland/Libraries/LibWeb/Streams/ReadableByteStreamController.idl new file mode 100644 index 0000000000..27c4f4bb72 --- /dev/null +++ b/Userland/Libraries/LibWeb/Streams/ReadableByteStreamController.idl @@ -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); +}; |