type State

bend-kit-retry@0.3.0.0 · retry.bend:24

import bend-kit-retry@0.3.0.0/retry.bend as Retry
import Base

24# Closed: the failures since the last success that are still inside the window, newest first.
25# Open: no attempt before until. Half: probes in flight.
26type State is Data:
27  CircuitClosed{fails: List<&2, Nat>}
28  CircuitOpen{until: Nat}
29  CircuitHalf{busy: Nat}

Uses (2)

Used by (32)