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

LibWeb: Add TransformStream scaffolding

This adds the scaffolding of TransformStream so we can start
implementing the necessary abstract operations for it.
This commit is contained in:
Kenneth Myhra 2023-07-06 19:37:12 +02:00 committed by Andreas Kling
parent 90fdd598c2
commit f1d69d789b
6 changed files with 140 additions and 0 deletions

View file

@ -0,0 +1,12 @@
#import <Streams/QueuingStrategy.idl>
#import <Streams/ReadableStream.idl>
#import <Streams/WritableStream.idl>
// https://streams.spec.whatwg.org/#transformstream
[Exposed=*, Transferable]
interface TransformStream {
constructor(optional object transformer, optional QueuingStrategy writableStrategy = {}, optional QueuingStrategy readableStrategy = {});
readonly attribute ReadableStream readable;
readonly attribute WritableStream writable;
};