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

LibWeb: Implement WritableStream.getWriter()

This commit is contained in:
Matthew Olsson 2023-04-02 07:22:11 -07:00 committed by Linus Groh
parent f358ae1b13
commit ae2d67c28b
5 changed files with 27 additions and 1 deletions

View file

@ -48,6 +48,7 @@ public:
bool locked() const;
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> close();
WebIDL::ExceptionOr<JS::NonnullGCPtr<WritableStreamDefaultWriter>> get_writer();
bool backpressure() const { return m_backpressure; }
void set_backpressure(bool value) { m_backpressure = value; }