def Ctl.on_done.st
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
400def Ctl.on_done.st(st: CState, key: String, +a: Q.Action) -> CState & List<&2, Q.Timer>:
401 match st:
402 case CState{s, q, x}:
403 Ctl.on_done(s, Stats.done(x, a), Q.Queue.done(q, key, a))