You're viewing version 1.2.0 of release-pending-sends. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

release-pending-sends

clojure.core

  • (release-pending-sends)
Normally, actions sent directly or indirectly during another action
are held until the action completes (changes the agent's
state). This function can be used to dispatch any pending sent
actions immediately. This has no impact on actions sent during a
transaction, which are still held until commit. If no action is
occurring, does nothing. Returns the number of actions dispatched.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:1603 top

(defn release-pending-sends
  "Normally, actions sent directly or indirectly during another action
  are held until the action completes (changes the agent's
  state). This function can be used to dispatch any pending sent
  actions immediately. This has no impact on actions sent during a
  transaction, which are still held until commit. If no action is
  occurring, does nothing. Returns the number of actions dispatched."
  {:added "1.0"}
  [] (clojure.lang.Agent/releasePendingSends))
Vars in clojure.core/release-pending-sends: defn
Used in 0 other vars

Comments top

No comments for release-pending-sends. Log in to add a comment.