ClojureDocs

Nav

Namespaces

send

clojure.core

Available since 1.0 (source)
  • (send a f & args)
Dispatch an action to an agent. Returns the agent immediately.
Subsequently, in a thread from a thread pool, the state of the agent
will be set to the value of:
 (apply action-fn state-of-agent args)