1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

LibWeb: Implement QueuingStrategy for Web::Streams::ReadableStream

This commit is contained in:
Shannon Booth 2023-06-18 21:57:07 +12:00 committed by Andreas Kling
parent e5c7d8407b
commit 4f217947b3
3 changed files with 16 additions and 10 deletions

View file

@ -1,11 +1,11 @@
#import <Streams/QueuingStrategy.idl>
#import <Streams/ReadableStreamBYOBReader.idl>
#import <Streams/ReadableStreamDefaultReader.idl>
// https://streams.spec.whatwg.org/#readablestream
[Exposed=*, Transferable]
interface ReadableStream {
// FIXME: optional QueuingStrategy strategy = {}
constructor(optional object underlyingSource);
constructor(optional object underlyingSource, optional QueuingStrategy strategy = {});
readonly attribute boolean locked;