(add-steps new-steps steps {:keys [stack depth] :as source-step} s11n-fn)
Add new steps to current steps.
Add new steps to current steps.
(assert-sepl-computation-thresholds
{:keys [iterations max-depth start-time computations] :as tracker}
max-iterations
max-computation-depth
max-duration)
Safe-guard against infinite executions.
Safe-guard against infinite executions.
(current-time-ms)
A convenience wrapper around System/currentTimeMillis meant to help with time-sensitive tests (easy mocking).
A convenience wrapper around System/currentTimeMillis meant to help with time-sensitive tests (easy mocking).
(report-long-step step more-steps tracker io)
Log warnings.
Log warnings.
(update-tracker)
(update-tracker tracker {:keys [type depth] :as step})
Follow various metrics.
Follow various metrics.
(verbosely-fail step original-args side-effect? f)
Returns a fn which applies provided f onto args, and returns the outcome. In case of Error, throws a wrapped Exception with helpful data.
Returns a fn which applies provided f onto args, and returns the outcome. In case of Error, throws a wrapped Exception with helpful data.
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 |