Deviopath › Swift

Circuit Breaker

Hard · Reliability

Opens after threshold consecutive failures. Then the next cooldown calls return "open", then it closes. Events: 1 success, 0 failure. Write runBreaker(_:_:_:).

Next: Token Bucket