mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
18 lines
464 B
Plaintext
18 lines
464 B
Plaintext
#import <Streams/ReadableStream.idl>
|
|
#import <Streams/ReadableStreamGenericReader.idl>
|
|
|
|
// https://streams.spec.whatwg.org/#readablestreamdefaultreader
|
|
[Exposed=*]
|
|
interface ReadableStreamDefaultReader {
|
|
constructor(ReadableStream stream);
|
|
|
|
Promise<ReadableStreamReadResult> read();
|
|
undefined releaseLock();
|
|
};
|
|
ReadableStreamDefaultReader includes ReadableStreamGenericReader;
|
|
|
|
dictionary ReadableStreamReadResult {
|
|
any value;
|
|
boolean done;
|
|
};
|