def Stats.done
import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtimeimport Base
import bend-kube-runtime@0.2.0.0/src/queue.bend as Q
377def Stats.done(x: Stats, a: Q.Action) -> Stats:
378 match x a:
379 case Stats{+r, +e, v} Q.Retry{m}:
380 Stats{(r + 1 : U32), (e + 1 : U32), v}
381 case Stats{+r, e, v} _:
382 Stats{(r + 1 : U32), e, v}