Blocks the current thread until all actions dispatched thus
far (from this thread or agent) to the agents have occurred, or the
timeout (in milliseconds) has elapsed. Returns logical false if
returning due to timeout, logical true otherwise.
;; construct simple agent(defagnt(agent5));; increment agent(sendagntinc);; system does not wait for the value change(println@agnt);; => 5 ;; increment agent(sendagntinc);; wait for maximum 1000 ms(await-for1000agnt);; print out the value of the agent (println@agnt);; => 7