def Ctl.dispatch.ready

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

import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtime
import Base
import bend-kube-runtime@0.2.0.0/src/store.bend as S
import bend-kube-runtime@0.2.0.0/src/queue.bend as Q

460def Ctl.dispatch.ready(+s: S.Store, q: Q.Queue, x: Stats, ready: Bool) -> CState & List<&2, Job>:
461  match ready:
462    case True{}:
463      Ctl.dispatch.fin(s, x, Q.Queue.pop_all(64n, q, Nil{}))
464    case False{}:
465      (CState{s, q, x}, Nil{})

Uses (11)

Used by (1)