Liking cljdoc? Tell your friends :D

diehard-async.circuit-breaker


allow-execution?clj

(allow-execution? cb)

Test if this circuit breaker allow code execution. The result is based on current state:

  • :open will deny all execution requests
  • :close allows all executions
  • :half-open only allows some of execution requests
Test if this circuit breaker allow code execution. The result is based
on current state:
  * `:open` will deny all execution requests
  * `:close` allows all executions
  * `:half-open` only allows some of execution requests
raw docstring

circuit-breakerclj

(circuit-breaker opts)

stateclj

(state cb)

Get current state of this circuit breaker, values in :open, :closed and half-open

Get current state of this circuit breaker, values in `:open`, `:closed` and `half-open` 
raw docstring

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

× close