mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:57:45 +00:00
LibWeb: Add the WritableStreamDefaultWriter interface
This commit is contained in:
parent
e93560b769
commit
bdab61ad93
11 changed files with 270 additions and 3 deletions
|
@ -0,0 +1,16 @@
|
|||
#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;
|
||||
|
||||
// FIXME:
|
||||
// Promise<undefined> abort(optional any reason);
|
||||
// Promise<undefined> close();
|
||||
// undefined releaseLock();
|
||||
// Promise<undefined> write(optional any chunk);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue