class Async::HTTP::Protocol::HTTP2::Response

def wait

Wait for the headers to be received or for stream reset.
def wait
	# If you call wait after the headers were already received, it should return immediately.
	if @notification
		@notification.wait
	end
	
	if @exception
		raise @exception
	end
end