mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 00:27:47 +00:00
LibWeb: Implement read a chunk concept for ReadableStreamDefaultReader
This commit is contained in:
parent
50f454fdd5
commit
34ecc59508
Notes:
sideshowbarker
2024-07-16 20:31:50 +09:00
Author: https://github.com/kennethmyhra
Commit: 34ecc59508
Pull-request: https://github.com/SerenityOS/serenity/pull/24132
Reviewed-by: https://github.com/shannonbooth
Reviewed-by: https://github.com/trflynn89
2 changed files with 9 additions and 0 deletions
|
@ -79,6 +79,7 @@ public:
|
|||
|
||||
JS::NonnullGCPtr<JS::Promise> read();
|
||||
|
||||
void read_a_chunk(Fetch::Infrastructure::IncrementalReadLoopReadRequest& read_request);
|
||||
void read_all_bytes(ReadLoopReadRequest::SuccessSteps, ReadLoopReadRequest::FailureSteps);
|
||||
void read_all_chunks(ReadLoopReadRequest::ChunkSteps, ReadLoopReadRequest::SuccessSteps, ReadLoopReadRequest::FailureSteps);
|
||||
JS::NonnullGCPtr<WebIDL::Promise> read_all_bytes_deprecated();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue