ladybird/Userland/Libraries/LibWeb/Streams/WritableStream.idl
2023-04-09 21:45:39 +02:00

14 lines
378 B
Plaintext

#import <Streams/WritableStreamDefaultWriter.idl>
[Exposed=*, Transferable]
interface WritableStream {
// FIXME: optional QueuingStrategy strategy = {}
constructor(optional object underlyingSink);
readonly attribute boolean locked;
Promise<undefined> abort(optional any reason);
Promise<undefined> close();
WritableStreamDefaultWriter getWriter();
};