class Async::HTTP::Body::Writable
def write(chunk)
def write(chunk) # If the reader breaks, the writer will break. # The inverse of this is less obvious (*) if @closed raise(@error || Closed) end # TODO should this yield if the queue is full? @count += 1 @queue.enqueue(chunk) end