(ex-unwrap ex)
Unwraps exceptions if we have a valid ex-cause present
Unwraps exceptions if we have a valid ex-cause present
(failed-future e)
CompletableFuture/failedFuture is only introduced in java 9
CompletableFuture/failedFuture is only introduced in java 9
(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
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close