class Async::Waiter

def wait(count = nil)

@parameter count [Integer | Nil] The number of tasks to wait for.
Wait for the first `count` tasks to complete.
def wait(count = nil)
	if count
		first(count).map(&:wait)
	else
		first.wait
	end
end