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

LibWeb: Add the WritableStreamDefaultWriter interface

This commit is contained in:
Matthew Olsson 2023-03-30 19:27:45 -07:00 committed by Linus Groh
parent e93560b769
commit bdab61ad93
11 changed files with 270 additions and 3 deletions

View file

@ -51,6 +51,11 @@ WebIDL::ExceptionOr<void> set_up_readable_stream_default_controller(ReadableStre
WebIDL::ExceptionOr<void> set_up_readable_stream_default_controller_from_underlying_source(ReadableStream&, JS::Value underlying_source_value, UnderlyingSource, double high_water_mark, SizeAlgorithm&&);
bool is_writable_stream_locked(WritableStream const&);
WebIDL::ExceptionOr<void> set_up_writable_stream_default_writer(WritableStreamDefaultWriter&, WritableStream&);
bool writable_stream_close_queued_or_in_flight(WritableStream const&);
Optional<double> writable_stream_default_writer_get_desired_size(WritableStreamDefaultWriter const&);
JS::ThrowCompletionOr<JS::Handle<WebIDL::CallbackType>> property_to_callback(JS::VM& vm, JS::Value value, JS::PropertyKey const& property_key);