def Ctl.dispatch.acc

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

import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtime
import Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J
import bend-kube-runtime@0.2.0.0/src/queue.bend as Q

435def Ctl.dispatch.acc(+k: String, m: Maybe<&2, J.Json>, acc: Q.Queue & List<&2, Job>) ->
436  Q.Queue & List<&2, Job>:
437  match acc:
438    case (q, jobs):
439      Ctl.dispatch.put(k, m, q, jobs)

Uses (9)

Used by (1)