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

LibWeb: Implement ReadableByteStreamController.close()

This commit is contained in:
Matthew Olsson 2023-04-09 10:40:15 -07:00 committed by Andreas Kling
parent ef3810d03d
commit c9be755367
5 changed files with 71 additions and 1 deletions

View file

@ -80,6 +80,7 @@ public:
void set_byob_request(JS::GCPtr<ReadableStreamBYOBRequest> request) { m_byob_request = request; }
Optional<double> desired_size() const;
WebIDL::ExceptionOr<void> close();
Optional<u32> const& auto_allocate_chunk_size() { return m_auto_allocate_chunk_size; }
void set_auto_allocate_chunk_size(Optional<u32> value) { m_auto_allocate_chunk_size = value; }