Skip to main content

snapshot

pub fn snapshot(key: &ScopeKey) -> BreakerSnapshot
Expand description

Reads a breaker without touching it, for the dashboard. Not is_open, which clears an elapsed cooldown as a side effect.