mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
15 lines
454 B
Plaintext
15 lines
454 B
Plaintext
#import <Streams/QueuingStrategy.idl>
|
|
#import <Streams/WritableStreamDefaultWriter.idl>
|
|
|
|
// https://streams.spec.whatwg.org/#writablestream
|
|
[Exposed=*, Transferable]
|
|
interface WritableStream {
|
|
constructor(optional object underlyingSink, optional QueuingStrategy strategy = {});
|
|
|
|
readonly attribute boolean locked;
|
|
|
|
Promise<undefined> abort(optional any reason);
|
|
Promise<undefined> close();
|
|
WritableStreamDefaultWriter getWriter();
|
|
};
|