On Feb 27, 8:57 am, 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.

[...]

> Please try them out for your latest Cells-like and other reactive
> programs. I'd like to move this out of the experimental category.
>
> Feedback and questions welcome

I hope this works out well. I've folded it into my app, and am finding
it useful. They facilitate factoring out application state into a
repository object whose sole job is to keep track of such state; I can
use watches to pass updated state to a synch agent that periodically
writes the changed state to a store, or to a UI agent that updates
views. That makes for a nice decomposition of concerns.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to