On Tue, 2009-06-30 at 13:10 +0200, Meikel Brandmeyer wrote:

> I'm not sure agents are the right idea here. The forms
> are used in dialogs. So when the dialog closes I need
> the result immediately. So updating the IRef needs to
> be synchronous. agents cannot assure that.
> 
Then it could be great to cache the modifications in vars and commit
them atomically to Refs when you close the dialog. 

> Watche(r)s work on all IRef types.
> 
Thank you very much for the information. I didn't know that. 
Clojure is even better than I thought.

Cheers,

Nicolas.



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

Reply via email to