1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:17:44 +00:00

LibWeb: Implement ReadableStreamBYOBReader constructor

This commit is contained in:
Shannon Booth 2023-08-27 12:55:25 +12:00 committed by Andrew Kaster
parent 2418a033d4
commit c279d514e9
3 changed files with 20 additions and 2 deletions

View file

@ -37,6 +37,8 @@ class ReadableStreamBYOBReader final
WEB_PLATFORM_OBJECT(ReadableStreamBYOBReader, Bindings::PlatformObject);
public:
static WebIDL::ExceptionOr<JS::NonnullGCPtr<ReadableStreamBYOBReader>> construct_impl(JS::Realm&, JS::NonnullGCPtr<ReadableStream>);
virtual ~ReadableStreamBYOBReader() override = default;
Vector<NonnullRefPtr<ReadIntoRequest>>& read_into_requests() { return m_read_into_requests; }