LibWeb: Add an 'enqueue' helper method on TransformStream

This commit is contained in:
Shannon Booth 2024-12-24 12:56:59 +13:00 committed by Andreas Kling
commit 5f2b75852f
Notes: github-actions[bot] 2024-12-25 11:03:07 +00:00
3 changed files with 10 additions and 2 deletions

View file

@ -42,6 +42,7 @@ public:
void set_controller(GC::Ptr<TransformStreamDefaultController> value) { m_controller = value; }
void set_up(GC::Ref<TransformAlgorithm>, GC::Ptr<FlushAlgorithm> = {}, GC::Ptr<CancelAlgorithm> = {});
void enqueue(JS::Value chunk);
private:
explicit TransformStream(JS::Realm& realm);