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