Changes for clojure.core/send-off

sfreund on Wed, 03 Oct 2012
user=> (def my-agent (agent ""))
#'user/my-agent
user=> @my-agent
""

;; Note the following happens asynchronously in a thread
;; pool
user=> (send my-agent #(slurp %2) "file.txt")
#<Agent@13c6641: "">

;; Assuming the action has been invoked the value will
;; now be updated when we look at it.
user=> @my-agent
"file contents"

sfreund on Wed, 03 Oct 2012
user=> (def my-agent (agent ""))
#'user/my-agent
user=> @my-agent
""

;; Note the following happens asynchronously in a thread
;; pool
user=> (send my-agent #(slurp %2) "file.txt")
#<Agent@13c6641: "">

;; Assuming the addition has completed the value will
;; now be updated when we look at it.
user=> @my-agent
"file contents"

gstamp on Fri, 01 Oct 2010
user=> (def my-agent (agent ""))
#'user/my-agent
user=> @my-agent
""

;; Note the following happens asynchronously in a thread
;; pool
user=> (send my-agent slurp "file.txt")
#

;; Assuming the addition has completed the value will
;; now be updated when we look at it.
user=> @my-agent
"file contents"

gstamp on Fri, 01 Oct 2010
user=> (def my-agent (agent ""))
#'user/my-agent
user=> @my-agent
""

;; Note the following happens asynchronously in a thread
;; pool
user=> (send my-agent slurp "file.txt")
#<Agent@5afc0f5: 200>

;; Assuming the addition has completed the value will
;; now be updated when we look at it.
user=> @my-agent
"file contents"