mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
LibWeb: Add an 'enqueue' helper method on TransformStream
This commit is contained in:
parent
9ce0c5914b
commit
5f2b75852f
Notes:
github-actions[bot]
2024-12-25 11:03:07 +00:00
Author: https://github.com/shannonbooth
Commit: 5f2b75852f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3029
Reviewed-by: https://github.com/kennethmyhra ✅
3 changed files with 10 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue