def release.connection
import bend-kit-http@0.38.2.0/admission.bend as Admissionimport Base
164def release.connection(connections: Maybe<&1, Lease>, buffered: Maybe<&1, Lease>, active: Lease, marks: Marks) -> Booked:
165 match connections buffered:
166 case Some{c} Some{b}:
167 Booked{Ledger{c, active, b, marks}, True{}}
168 case _ _:
169 Broken{}