class Async::Wrapper

def wait_any(interests = :rw)

Parameters:
  • interests (:r | :w | :rw) -- what events to wait for.
def wait_any(interests = :rw)
	monitor(interests) do
		Task.yield
	end
end