LibWeb: Mostly implement ReadableByteStreamController.[[PullSteps]]

This commit is contained in:
Matthew Olsson 2023-04-08 11:46:11 -07:00 committed by Linus Groh
commit 51abecc8bc
Notes: sideshowbarker 2024-07-16 23:59:28 +09:00
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&);