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

LibWeb: Implement TransformStreamDefaultController::enqueue()

This commit is contained in:
Kenneth Myhra 2023-07-07 19:35:15 +02:00 committed by Andreas Kling
parent e028918a64
commit 4ae82983a4
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; }