Liking cljdoc? Tell your friends :D

commando.impl.status-map


core-step-safeclj/s

(core-step-safe status-map step-name step-fn)

Executes a pipeline step with skip-on-failure, error safety net, and timing. step-fn receives the status-map and must return an updated status-map. If status is :failed, the step is skipped with a warning. Uncaught exceptions are converted to :failed status.

Executes a pipeline step with skip-on-failure, error safety net, and timing.
step-fn receives the status-map and must return an updated status-map.
If status is :failed, the step is skipped with a warning.
Uncaught exceptions are converted to :failed status.
sourceraw docstring

failed?clj/s

(failed? status-map)
source

ok?clj/s

(ok? status-map)
source

status-map-add-measurementclj/s

(status-map-add-measurement status-map stat-key start-time-ns end-time-ns)

Calculates the duration from start-time-ns and end-time-ns and appends it as a tuple [stat-key duration-ns formatted-duration] to the :stats vector in the status-map.

Calculates the duration from `start-time-ns` and `end-time-ns` and appends it as a tuple
`[stat-key duration-ns formatted-duration]` to the `:stats` vector in the `status-map`.
sourceraw docstring

status-map-handle-errorclj/s

(status-map-handle-error status-map m)
source

status-map-handle-successclj/s

(status-map-handle-success status-map m)
source

status-map-handle-warningclj/s

(status-map-handle-warning status-map m)
source

status-map-pureclj/s

(status-map-pure)
(status-map-pure m)
source

status-map-undefined-statusclj/s

(status-map-undefined-status status-map)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close