Changes between Version 12 and Version 13 of Clojure Client Tutorial
- Timestamp:
- Aug 2, 2011 5:40:15 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Clojure Client Tutorial
v12 v13 155 155 client.protocol-one/send-and-watch 156 156 ([quagent id msg wf] [quagent id msg f wf]) 157 Sends the op to the server and then applies f to update the value. When the value changes wf is called (wf must meet the requirements of the add-watch function). The return value is the key for the watcher; this is used to delete it if necessary [(example)](http://clojure-examples.appspot.com/clojure.core/add-watch?revision=1278516003572). No ops of this type are currently supported by the server.157 Sends the op to the server and then applies f to update the value. When the value changes wf is called (wf must meet the requirements of the add-watch function). The return value is the key for the watcher; this is used to delete it if necessary [(example)](http://clojure-examples.appspot.com/clojure.core/add-watch?revision=1278516003572). 158 158 nil 159 159 }}}