def running
import bend-kit-http@0.38.2.0/admission.bend as Admissionimport Base
293def running(+inbox: Chan(Command)) -> IO(Bool):
294 do IO<Bool>:
295 +reply : Chan(Bool) <- Chan.new(Bool, 1)
296 sent : Result<&1, &1, Command, Unit> <- Chan.send(Command, inbox, Running{reply})
297 boolean.sent(sent, reply)