1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:37:44 +00:00

LibWeb/Streams: Add WritableStreamDefaultController::visit_edges()

This commit is contained in:
Andreas Kling 2023-08-09 18:15:38 +02:00
parent 26d5d86682
commit 40bdcdf966
2 changed files with 12 additions and 0 deletions

View file

@ -55,6 +55,8 @@ public:
private:
explicit WritableStreamDefaultController(JS::Realm&);
virtual void visit_edges(Visitor&) override;
// https://streams.spec.whatwg.org/#writablestreamdefaultcontroller-abortalgorithm
// A promise-returning algorithm, taking one argument (the abort reason), which communicates a requested abort to the underlying sink
Optional<AbortAlgorithm> m_abort_algorithm;