mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb: Add Streams::ReadableStreamDefaultReader::read_all_bytes
This commit is contained in:
committed by
Andreas Kling
parent
46f9a49bd8
commit
3df10d7fb6
Notes:
sideshowbarker
2024-07-17 03:03:37 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/3df10d7fb6 Pull-request: https://github.com/SerenityOS/serenity/pull/19404 Reviewed-by: https://github.com/kennethmyhra ✅ Reviewed-by: https://github.com/mattco98 ✅
@@ -66,6 +66,8 @@ public:
|
||||
virtual ~ReadableStreamDefaultReader() override = default;
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::Promise>> read();
|
||||
|
||||
WebIDL::ExceptionOr<void> read_all_bytes(ReadLoopReadRequest::SuccessSteps, ReadLoopReadRequest::FailureSteps);
|
||||
WebIDL::ExceptionOr<void> release_lock();
|
||||
|
||||
SinglyLinkedList<NonnullRefPtr<ReadRequest>>& read_requests() { return m_read_requests; }
|
||||
|
||||
Reference in New Issue
Block a user