Retry.Circuit: type of bend-kit-retry@0.3.0.0 Import: import bend-kit-retry@0.3.0.0/retry.bend as Retry Lines 19-22 of bend-kit-retry@0.3.0.0/retry.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-retry@0.3.0.0/retry.bend&start_line=19&end_line=22 import Base # threshold: failures in a row, each inside window ms of the newest, that open the circuit. cooldown: ms it stays open. # probes: attempts allowed at once while half-open. type Circuit is Data: Circuit{threshold: Nat, window: Nat, cooldown: Nat, probes: Nat} Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat