class Async::HTTP::Body::Readable

def each

Enumerate all chunks until finished. If an error is thrown, #stop will be invoked.
def each
	return to_enum unless block_given?
	
	while chunk = self.read
		yield chunk
	end
rescue
	stop($!)
	
	raise
end