lib/async/http/body/writable.rb in async-http-0.52.1 vs lib/async/http/body/writable.rb in async-http-0.52.2

- old
+ new

@@ -66,9 +66,13 @@ def closed? @closed end + def ready? + !@queue.empty? + end + # Has the producer called #finish and has the reader consumed the nil token? def empty? @finished end