Liking cljdoc? Tell your friends :D

qbits.alia.completable-future


completed-futureclj

(completed-future v)
source

ex-unwrapclj

(ex-unwrap ex)

Unwraps exceptions if we have a valid ex-cause present

Unwraps exceptions if we have a valid ex-cause present
sourceraw docstring

failed-futureclj

(failed-future e)

CompletableFuture/failedFuture is only introduced in java 9

CompletableFuture/failedFuture is only introduced in java 9
sourceraw docstring

handle-completion-stagecljmacro

(handle-completion-stage completion-stage on-success on-error)
(handle-completion-stage completion-stage on-success on-error opts)

handle both branches of a completion stage

it's a macro to capture any exceptions from the completion-stage form and also send them through the on-error handler

handle both branches of a completion stage

it's a macro to capture any exceptions from the completion-stage
form and also send them through the `on-error` handler
sourceraw docstring

handle-completion-stage*clj

(handle-completion-stage* completion-stage on-success on-error)
(handle-completion-stage* completion-stage
                          on-success
                          on-error
                          {executor :executor :as opts})

java incantation to handle both branches of a completion-stage

java incantation to handle both branches of a completion-stage
sourceraw docstring

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

× close