mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37:35 +00:00
LibWeb: Implement WritableStreamDefaultWriter.write()
This commit is contained in:
parent
48b67e41f0
commit
58f3009faa
5 changed files with 163 additions and 3 deletions
|
@ -30,6 +30,7 @@ public:
|
|||
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> abort(JS::Value reason);
|
||||
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> close();
|
||||
WebIDL::ExceptionOr<void> release_lock();
|
||||
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> write(JS::Value chunk);
|
||||
|
||||
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