mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47: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:
parent
90fdd598c2
commit
f1d69d789b
6 changed files with 140 additions and 0 deletions
12
Userland/Libraries/LibWeb/Streams/TransformStream.idl
Normal file
12
Userland/Libraries/LibWeb/Streams/TransformStream.idl
Normal 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue