mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
17 lines
617 B
Text
17 lines
617 B
Text
#import <Streams/ReadableStreamDefaultReader.idl>
|
|
|
|
// https://streams.spec.whatwg.org/#readablestream
|
|
[Exposed=*, Transferable]
|
|
interface ReadableStream {
|
|
// FIXME: optional QueuingStrategy strategy = {}
|
|
constructor(optional object underlyingSource);
|
|
|
|
readonly attribute boolean locked;
|
|
|
|
Promise<undefined> cancel(optional any reason);
|
|
// FIXME: optional ReadableStreamGetReaderOptions options = {}
|
|
ReadableStreamReader getReader();
|
|
};
|
|
|
|
// FIXME: typedef (ReadableStreamDefaultReader or ReadableStreamBYOBReader) ReadableStreamReader;
|
|
typedef ReadableStreamDefaultReader ReadableStreamReader;
|