Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 298 Bytes

future-call.md

File metadata and controls

9 lines (6 loc) · 298 Bytes

future-call

(future-call f)

clojure.core/future-call: the function f on its own thread, like future of calling it with no arguments (bindings conveyed the same way), answering the same future. As a value a one-argument function.

(println @(future-call (fn [] 11))) ; 11