LibWeb: Implement WritableStream.getWriter()

This commit is contained in:
Matthew Olsson 2023-04-02 07:22:11 -07:00 committed by Linus Groh
commit ae2d67c28b
Notes: sideshowbarker 2024-07-16 21:41:18 +09:00
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; }