def Drv.send
import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtimeimport Base
import bend-kube-runtime@0.2.0.0/src/watcher.bend as W
159def Drv.send(chan: Chan(Msg), +src: U32, outs: List<&2, W.Out>) -> IO(Unit):
160 match outs:
161 case Nil{}:
162 IO.pure(Unit, Unit{})
163 case xs:
164 IO.bind(Result<&1, &1, Msg, Unit>, Unit, Chan.send(Msg, chan, MOuts{src, xs}),
165 r => IO.pure(Unit, Unit{}))