def Drv.digest.end.go
bend-kube-runtime@0.2.0.0 · src/runtime.bend:118
import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtime
import Base
import bend-kube-runtime@0.2.0.0/src/http.bend as H
import bend-kube-runtime@0.2.0.0/src/watcher.bend as W
118def Drv.digest.end.go(st: W.WState, outs: List<&2, W.Out>, +wait: Bool, r: H.Resp,
119 carry: List<&2, U32>, +end: Bool) -> Dig:
120 match end:
121 case True{}:
122 Dig{W.Watcher.merge(W.Step{st, outs, wait}, W.IWatchEnd{}), r, carry, False{}}
123 case False{}:
124 Dig{W.Step{st, outs, wait}, r, carry, Bool.not(wait)}