(always body)catch any sync exception from evaluating body, and wrap in an errored promise - allowing a single promise-based control-flow in promise chains
catch any sync exception from evaluating body, and wrap in an errored promise - allowing a single promise-based control-flow in promise chains
(catch-always body handler)catch any sync or promise error
catch any sync or promise error
(handle-always body handler)handly any sync or promise error
handly any sync or promise error
(merge-always p)merge both branches of a promise into a variant
merge both branches of a promise into a variant
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |