A circuit breaker with no goroutines, no timers, and no background overhead
Most circuit breaker libraries spawn background threads to probe for recovery. You don't need them.
Every production circuit breaker I've reviewed eventually spawns a background thread. It might be a Go goroutine, a Java , or a Rust tokio task. The job is…