ClojureDocs

Nav

Namespaces

send-via

clojure.core

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