def boolean.sent

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

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

Uses (10)

Used by (3)