(rontolisp) docs
← Type and collection predicates

future-cancelled?

(future-cancelled? f)

clojure.core/future-cancelled?: the host java.util.concurrent.Future's isCancelled, which only interop builds (interpreter and JVM); false for the future the HTTP client answers under :async true, which is never cancelled; and for a future future, whether cancelling it won (interpreter and JVM). Any other value signals ClassCastException (nil: NullPointerException), as the oracle's cast does. As a value a one-argument function.