LibWeb: Implement AO readable_stream_from_iterable

This commit is contained in:
Kenneth Myhra 2024-06-08 10:43:54 +02:00 committed by Andreas Kling
commit 01a8b5ee54
Notes: sideshowbarker 2024-07-17 11:34:34 +09:00
2 changed files with 112 additions and 0 deletions

View file

@ -37,6 +37,7 @@ WebIDL::ExceptionOr<double> extract_high_water_mark(QueuingStrategy const&, doub
void readable_stream_close(ReadableStream&);
void readable_stream_error(ReadableStream&, JS::Value error);
WebIDL::ExceptionOr<JS::NonnullGCPtr<ReadableStream>> readable_stream_from_iterable(JS::VM& vm, JS::Value async_iterable);
void readable_stream_add_read_request(ReadableStream&, JS::NonnullGCPtr<ReadRequest>);
void readable_stream_add_read_into_request(ReadableStream&, JS::NonnullGCPtr<ReadIntoRequest>);
JS::NonnullGCPtr<WebIDL::Promise> readable_stream_cancel(ReadableStream&, JS::Value reason);