1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:27:34 +00:00

LibWeb: Implement QueuingStrategy for Web::Streams::ReadableStream

This commit is contained in:
Shannon Booth 2023-06-18 21:57:07 +12:00 committed by Andreas Kling
parent e5c7d8407b
commit 4f217947b3
3 changed files with 16 additions and 10 deletions

View file

@ -10,6 +10,7 @@
#include <LibJS/Forward.h>
#include <LibWeb/Bindings/PlatformObject.h>
#include <LibWeb/Forward.h>
#include <LibWeb/Streams/QueuingStrategy.h>
namespace Web::Streams {
@ -30,7 +31,7 @@ public:
Errored,
};
static WebIDL::ExceptionOr<JS::NonnullGCPtr<ReadableStream>> construct_impl(JS::Realm&, Optional<JS::Handle<JS::Object>> const& underlying_source);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<ReadableStream>> construct_impl(JS::Realm&, Optional<JS::Handle<JS::Object>> const& underlying_source, QueuingStrategy const& = {});
virtual ~ReadableStream() override;