(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 requestsTest 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
(circuit-breaker opts)(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`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |