Interoperability with Java 8 CompletableFuture.
Interoperability with Java 8 CompletableFuture.
(complete cf resolve raise)
When the CompletableFuture completes successfully, calls resolve with the value. If it completes exceptionally, calls raise with the exception. Use with await: (await complete cf)
When the CompletableFuture completes successfully, calls resolve with the value. If it completes exceptionally, calls raise with the exception. Use with await: (await complete cf)
(future-call cps-fn & args)
Applies cps-fn to args plus two continuations that complete the CompletableFuture returned successfully or exceptionally.
Applies cps-fn to args plus two continuations that complete the CompletableFuture returned successfully or exceptionally.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close