def boolean.sent
import bend-kit-http@0.38.2.0/admission.bend as Admissionimport Base
277def boolean.sent(sent: Result<&1, &1, Command, Unit>, +reply: Chan(Bool)) -> IO(Bool):
278 match sent:
279 case Fail{command}:
280 do IO<Bool>:
281 Chan.close(Bool, reply)
282 return False{}
283 case Done{u}:
284 IO.join(Bool, reply)