(init {c :com.potetm.fusebox.cljs.bulkhead/concurrency
_wt :com.potetm.fusebox.cljs.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 which returns a promise, guarded by the provided bulkhead.
Evaluates body which returns a promise, guarded by the provided bulkhead.
(with-bulkhead* {s :com.potetm.fusebox.cljs.bulkhead/sem
to :com.potetm.fusebox.cljs.bulkhead/wait-timeout-ms}
f)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close