clojure.core/future¶
Takes a body of expressions and yields a future object that will invoke the body in another thread, and will cache the result and return it on all subsequent calls to deref/@. If the computation has not yet finished, calls to deref/@ will block, unless the variant of deref with timeout is used. See also - realized?.
Examples¶
See also¶
- clojure.core/future-cancel (0)
- clojure.core/shutdown-agents (0)
- clojure.core/promise (0)
- clojure.core/realized? (1)
- clojure.core/delay (3)
- clojure.core/future?
- clojure.core/future-call
- clojure.core/future-done? (1)
- clojure.core/locking (0)
Content from the matching ClojureDocs page, with authors credited on each contribution.