You're viewing version 1.2.0 of clear-agent-errors. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

clear-agent-errors

clojure.core

  • (clear-agent-errors a)
DEPRECATED: Use 'restart-agent' instead.
Clears any exceptions thrown during asynchronous actions of the
agent, allowing subsequent actions to occur.

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:1708 top

(defn clear-agent-errors
  "DEPRECATED: Use 'restart-agent' instead.
  Clears any exceptions thrown during asynchronous actions of the
  agent, allowing subsequent actions to occur."
  {:added "1.0"
   :deprecated "1.2"}
  [^clojure.lang.Agent a] (restart-agent a (.deref a)))
Vars in clojure.core/clear-agent-errors: defn restart-agent
Used in 0 other vars

Comments top

No comments for clear-agent-errors. Log in to add a comment.