class Concurrent::Agent
def await_for(timeout)
-
(Boolean)- true if all actions complete before timeout else false
Parameters:
-
timeout(Float) -- the maximum number of seconds to wait
def await_for(timeout) wait(timeout.to_f) end