LibWeb: Implement TransformStreamDefaultController::enqueue()

This commit is contained in:
Kenneth Myhra 2023-07-07 19:35:15 +02:00 committed by Andreas Kling
commit 4ae82983a4
Notes: sideshowbarker 2024-07-17 03:03:15 +09:00
3 changed files with 11 additions and 1 deletions

View file

@ -19,6 +19,7 @@ public:
virtual ~TransformStreamDefaultController() override;
Optional<double> desired_size();
WebIDL::ExceptionOr<void> enqueue(Optional<JS::Value> chunk);
WebIDL::ExceptionOr<void> error(Optional<JS::Value> reason = {});
auto& flush_algorithm() { return m_flush_algorithm; }