ClojureDocs

导航

命名空间

send-via

clojure.core

自 1.5 起可用 (源代码)
  • (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)