Liking cljdoc? Tell your friends :D
Clojure only.

await-cps.java

Interoperability with Java 8 CompletableFuture.

Interoperability with Java 8 CompletableFuture.
raw docstring

completeclj

(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)
sourceraw docstring

future-callclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close