I've managed to create weird race conditions by adding watches while actions are running. Are there guarantees about the scheduling of actions and adding/ removing watches? If I add or remove a watch on an agent while an action is running, what happens? So to summarize, my feedback that still may be sensible consists of this question and a request for watches that respond to errors.
Thanks, Anand On Thu, Mar 5, 2009 at 9:34 AM, Anand Patil <anand.prabhakar.pa...@gmail.com > wrote: > Excellent point. Yes, get-watches seems like a better option. > Anand > > > On Thu, Mar 5, 2009 at 3:33 AM, Timothy Pratley > <timothyprat...@gmail.com>wrote: > >> >> I forgot to mention the reason I don't feel it should be an error to >> remove a non-existent watch >> user=> (dissoc {:a 1 :b 2} :c) >> {:a 1, :b 2} >> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---