class Async::Wrapper

def wait_any(interests = :rw, duration = nil)

Parameters:
  • duration (Float) -- timeout after the given duration if not `nil`.
  • interests (:r | :w | :rw) -- what events to wait for.
def wait_any(interests = :rw, duration = nil)
	monitor(interests, duration)
end