1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:17:36 +00:00

LibWeb: Mostly implement ReadableByteStreamController.[[PullSteps]]

This commit is contained in:
Matthew Olsson 2023-04-08 11:46:11 -07:00 committed by Linus Groh
parent c97f6b7701
commit 51abecc8bc
4 changed files with 116 additions and 0 deletions

View file

@ -117,6 +117,7 @@ public:
void set_stream(JS::GCPtr<ReadableStream> stream) { m_stream = stream; }
WebIDL::ExceptionOr<JS::GCPtr<WebIDL::Promise>> cancel_steps(JS::Value reason);
WebIDL::ExceptionOr<void> pull_steps(NonnullRefPtr<ReadRequest>);
private:
explicit ReadableByteStreamController(JS::Realm&);