def running

bend-kit-http@0.38.2.0 · admission.bend:293

import bend-kit-http@0.38.2.0/admission.bend as Admission
import 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)

Uses (10)

Used by (2)