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:
parent
e5c7d8407b
commit
4f217947b3
3 changed files with 16 additions and 10 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue