Admission.lease.split: def of bend-kit-http@0.38.2.0 Import: import bend-kit-http@0.38.2.0/admission.bend as Admission Lines 74-79 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=74&end_line=79 import Base import bend-kit-resources@0.1.0.0/resources.bend as Res def lease.split(parts: Res.Split, pool: Res.Pool) -> Maybe<&1, Lease>: match parts: case Res.Parts{one, rest}: lease.released(Res.release(pool, one), rest) case Res.Whole{grant}: None{} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/admission.bend&name=Lease https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/admission.bend&name=lease.released https://jend.leeeet.dev/definition.txt?path=bend-kit-resources@0.1.0.0/resources.bend&name=Pool https://jend.leeeet.dev/definition.txt?path=bend-kit-resources@0.1.0.0/resources.bend&name=Split https://jend.leeeet.dev/definition.txt?path=bend-kit-resources@0.1.0.0/resources.bend&name=release