Hi,

On Jun 16, 12:56 pm, Rasmus Svensson <[email protected]> wrote:

> One solution to the sleep problem could perhaps be to let the agent send
> this to it self:
>
> (fn [state millis]
>   (Thread/sleep millis)
>   state)

With this one has to keep in mind, that maybe someone else has already
sent another action to the agent. So the sleep might happen after some
further computation and not immediately.

Sincerely
Meikel

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to