future-cancelled?

clojure.core

  • (future-cancelled? f)
Returns true if future f is cancelled

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

(defn future-cancelled?
  "Returns true if future f is cancelled"
  {:added "1.1"
   :static true}
  [^java.util.concurrent.Future f] (.isCancelled f))
Vars in clojure.core/future-cancelled?:
Used in 0 other vars

Comments top

No comments for future-cancelled?. Log in to add a comment.