ladybird/Userland/Libraries/LibWeb/Streams/WritableStreamDefaultWriter.idl

16 lines
453 B
Plaintext
Raw Normal View History

#import <Streams/WritableStream.idl>
[Exposed=*]
interface WritableStreamDefaultWriter {
constructor(WritableStream stream);
readonly attribute Promise<undefined> closed;
readonly attribute unrestricted double? desiredSize;
readonly attribute Promise<undefined> ready;
Promise<undefined> abort(optional any reason);
Promise<undefined> close();
undefined releaseLock();
Promise<undefined> write(optional any chunk);
};