mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibWeb: Implement WritableStreamDefaultWriter.close()
This commit is contained in:
parent
0c441fa7af
commit
5f4da20a56
5 changed files with 39 additions and 1 deletions
|
@ -28,6 +28,7 @@ public:
|
|||
WebIDL::ExceptionOr<Optional<double>> desired_size() const;
|
||||
JS::GCPtr<JS::Object> ready();
|
||||
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> abort(JS::Value reason);
|
||||
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> close();
|
||||
|
||||
JS::GCPtr<WebIDL::Promise> closed_promise() { return m_closed_promise; }
|
||||
void set_closed_promise(JS::GCPtr<WebIDL::Promise> value) { m_closed_promise = value; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue