Liking cljdoc? Tell your friends :D

circuit-breaker-fn.util


nanos-fromclj

(nanos-from unit n)

Returns the nanoseconds in <n> time <unit>.

Returns the nanoseconds in <n> time <unit>.
sourceraw docstring

time-unitsclj

source

with-lockcljmacro

(with-lock lock-expr & body)

Runs <body> after calling .lock() on the provided lock.

Runs <body> after calling `.lock()` on the provided lock.
sourceraw docstring

with-try-lockcljmacro

(with-try-lock lock-expr & body)

Same as with-lock, but uses tryLock() instead, and therefore may end up not running <body> (i.e. doesn't wait).

Same as `with-lock`, but uses `tryLock()` instead,
and therefore may end up not running <body> (i.e. doesn't wait).
sourceraw docstring

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

× close