ladybird/Userland/Libraries/LibWeb/Streams/TransformStream.idl
Kenneth Myhra f1d69d789b LibWeb: Add TransformStream scaffolding
This adds the scaffolding of TransformStream so we can start
implementing the necessary abstract operations for it.
2023-07-15 11:59:39 +02:00

13 lines
461 B
Plaintext

#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;
};