On Sun, Jan 16, 2011 at 5:37 PM, Stuart Halloway
stuart.hallo...@gmail.com wrote:
The 'if' is terse, but correct: call is on agent's thread only when reference
is an agent, and before pending sends only when reference is an agent or ref.
Ah, it makes sense now. Thanks. I believe it'd be more
Hi,
I think there're two typos in
http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/add-watch
- I believe 'if' should become 'of':
The watch fn will be called synchronously, on the agent's thread if an
agent, before any pending sends if agent or ref.
should become
The watch
The 'if' is terse, but correct: call is on agent's thread only when reference
is an agent, and before pending sends only when reference is an agent or ref.
Cheers,
Stu
Hi,
I think there're two typos in
http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/add-watch
- I