def limiting.step
import cswap-bend-cli@0.1.0.0/poll.bend as Pollimport Base
342def limiting.step(full: Bool, r: Maybe<&2, U32>, acc: Maybe<&2, U32>) -> Maybe<&2, U32>:
343 match full r:
344 case True{} Some{x}:
345 max_acc(acc, x)
346 case _ _:
347 acc