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

15 lines
451 B
Plaintext
Raw Normal View History

#import <Streams/ReadableStream.idl>
#import <Streams/ReadableStreamDefaultReader.idl>
#import <Streams/ReadableStreamGenericReader.idl>
// https://streams.spec.whatwg.org/#readablestreambyobreader
[Exposed=*]
interface ReadableStreamBYOBReader {
constructor(ReadableStream stream);
Promise<ReadableStreamReadResult> read(ArrayBufferView view);
undefined releaseLock();
};
ReadableStreamBYOBReader includes ReadableStreamGenericReader;