On Jan 27, 10:08 am, Tom Ayerst <[email protected]> wrote:
> I thought the validator just set "Agent has errors" and you have to check it
> explicitly.
Vars, refs and agents can have validators. A validator on a ref can
prevent the ref from taking on a new value by throwing an exception,
which will cause a roll-back of the transaction.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---