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

LibWeb: Implement WritableStreamDefaultWriter.releaseLock()

This commit is contained in:
Matthew Olsson 2023-04-02 10:52:01 -07:00 committed by Linus Groh
parent 5f4da20a56
commit 6bbd920008
5 changed files with 69 additions and 1 deletions

View file

@ -29,6 +29,7 @@ public:
JS::GCPtr<JS::Object> ready();
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> abort(JS::Value reason);
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> close();
WebIDL::ExceptionOr<void> release_lock();
JS::GCPtr<WebIDL::Promise> closed_promise() { return m_closed_promise; }
void set_closed_promise(JS::GCPtr<WebIDL::Promise> value) { m_closed_promise = value; }