Liking cljdoc? Tell your friends :D
Mostly cljs.
Exceptions indicated.

com.potetm.fusebox.cljs.bulkhead


disablecljs

(disable spec)
source

initcljs

(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
sourceraw docstring

shutdowncljs

(shutdown {s :com.potetm.fusebox.cljs.bulkhead/sem})
source

with-bulkheadclj/smacro

(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.
sourceraw docstring

with-bulkhead*cljs

(with-bulkhead* {s :com.potetm.fusebox.cljs.bulkhead/sem
                 to :com.potetm.fusebox.cljs.bulkhead/wait-timeout-ms}
                f)
source

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

× close