add-watch was alpha in Clojure 1.2: http://clojuredocs.org/clojure_core/1.2.0/clojure.core/add-watch
it is still alpha now, in Clojure 1.5: http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/add-watch I am curious what the plan is for add-watch? I was just reading this: http://nurkiewicz.blogspot.com/2013/03/promises-and-futures-in-clojure.html and this struck me: And here is where the greatest disappointment arrives: neither future<http://clojuredocs.org/clojure_core/clojure.core/future> nor promise <http://clojuredocs.org/clojure_core/clojure.core/promise> in Clojure supports listening for completion/failure asynchronously. ... As much as I love Clojure concurrency primitives like STM and agents, futures feel a bit underdeveloped. Lack of event-driven, asynchronous callbacks that are invoked whenever futures completes (notice that add-watch<http://clojuredocs.org/clojure_core/clojure.core/add-watch> doesn't work futures - and is still in alpha) greatly reduces the usefulness of a future object. We can no longer: - map futures to transform result value asynchronously - chain futures - translate list of futures to future of list - ...and much more, see how Akka does it<http://nurkiewicz.blogspot.no/2013/02/javautilconcurrentfuture-basics.html> and Guava to some extent<http://nurkiewicz.blogspot.no/2013/02/advanced-listenablefuture-capabilities.html> That's a shame and since it's not a technical difficulty but only a missing API, I hope to see support for completion listeners soon. So, I am curious if we will see support for completion listeners. Or is there a feeling that stuff like core.async has addressed some of this and nothing more is needed? -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.