def Stats.done

bend-kube-runtime@0.2.0.0 · src/runtime.bend:377

import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtime
import 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}

Uses (4)

Used by (1)