Admission.snapshot: def of bend-kit-http@0.38.2.0 Import: import bend-kit-http@0.38.2.0/admission.bend as Admission Lines 334-340 of bend-kit-http@0.38.2.0/admission.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http@0.38.2.0/admission.bend&start_line=334&end_line=340 import Base # A successful rendezvous send was received: Stop cannot erase a queued request. # After controller closure a failed send returns None without waiting on its reply. def snapshot(+inbox: Chan(Command)) -> IO(Maybe<&2, Counts>): do IO>: +reply : Chan(Counts) <- Chan.new(Counts, 1) sent : Result<&1, &1, Command, Unit> <- Chan.send(Command, inbox, Snapshot{reply}) snapshot.sent(sent, reply) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Chan https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Chan.new https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Chan.send https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/admission.bend&name=Command https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/admission.bend&name=Counts https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/admission.bend&name=snapshot.sent