def limiting_reset
import cswap-bend-cli@0.1.0.0/poll.bend as Pollimport Base
349def limiting_reset(ws: List<&2, Win>, acc: Maybe<&2, U32>) -> Maybe<&2, U32>:
350 match ws:
351 case Nil{}:
352 acc
353 case Con{Win{p, r}, t}:
354 limiting_reset(t, limiting.step(U32.is_ge(p, 1000), r, acc))