CircuitBreaker Module
Simple circuit breaker — prevents cascading failures by tracking consecutive errors.
Thread-safe on .NET (uses lock). On Fable, single-threaded by design.
State transitions: Closed → Open → HalfOpen → Closed.
Functions and values
| Function or value |
Description
|
||
|
Creates a circuit breaker. Returns a function that wraps calls.
State transitions are atomic; the wrapped function
|
TDesu.FSharp