> When writing this code, I found the watcher system a bit clunky to > use, and a bit too heavyweight for what I needed. Sometimes, within a > dosync block, you want to trigger some sort of side effect once the > current transaction is committed. To make this easy, I would very > much like to see an addtional macro for the transaction system called > after-commit, so that inside a transaction, you can easily do things > like: > (after-commit (println "Done committing"))
If i remember correctly, any agents send (or send-off?) within a dosync are only send off after the dosync completed. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---