(init {c :com.potetm.fusebox.bulkhead/concurrency
_wt :com.potetm.fusebox.bulkhead/wait-timeout-ms
:as spec})
Initialize a bulkhead (i.e. concurrency limiter).
spec is a map containing: ::concurrency - the integer number of concurrent callers to allow ::wait-timeout-ms - max millis a thread will wait to enter bulkhead
Initialize a bulkhead (i.e. concurrency limiter). spec is a map containing: ::concurrency - the integer number of concurrent callers to allow ::wait-timeout-ms - max millis a thread will wait to enter bulkhead
(with-bulkhead spec & body)
Evaluates body, guarded by the provided bulkhead.
Evaluates body, guarded by the provided bulkhead.
(with-bulkhead* {s :com.potetm.fusebox.bulkhead/sem
to :com.potetm.fusebox.bulkhead/wait-timeout-ms
:as spec}
f)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close