class Async::Wrapper
def wait_any(interests = :rw)
def wait_any(interests = :rw) monitor(interests) do # Async.logger.debug "Fiber #{Fiber.current} yielding..." result = Fiber.yield # Async.logger.debug "Fiber #{Fiber.current} resuming with result #{result}..." raise result if result.is_a? Exception end end