On Dec 17, 2008, at 4:16 AM, Rowdy Rednose wrote:

>
> If Rich adds watchers for refs, would watchers be notified inside the
> transaction?

No, only on commit.

Rich


>
>
> I'm actually trying to get a notification after a transaction
> successfully finished. Although there might be use cases for firing
> events inside the transaction.

> On 17 Dez., 00:37, Stuart Sierra <the.stuart.sie...@gmail.com> wrote:
>> On Dec 16, 7:50 am, Timothy Pratley <timothyprat...@gmail.com> wrote:
>>
>>> SS wrote a cells that works on refs quite a while 
>>> ago:http://groups.google.com/group/clojure/browse_thread/thread/d79392e4c 
>>> ...
>>
>> Yeah, it works, but the interface is a little awkward.  Rich said he
>> wants to add watchers for refs and atoms in addition to agents.  Then
>> you can use all the regular ref functions instead of "alter-cell".
>> -Stuart Sierra
> >


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