Hi Rich, On Feb 27, 2:57 pm, Rich Hickey <richhic...@gmail.com> wrote: > I've added (back) synchronous watches (svn 1309+), which used to exist > for agents, now for all reference types. > > (defn add-watch > > "Experimental. > > Adds a watch function to an agent/atom/var/ref reference. The watch > fn must be a fn of 4 args: a key, the reference, its old-state, its > new-state.
Could you say more about the key? Who gets to decide what it is, and what does it mean? Thanks, Anand --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---