Server.server.slots: def of emerging-ezhttp@0.22.0.0 Import: import emerging-ezhttp@0.22.0.0/src/server.bend as Server Lines 422-424 of emerging-ezhttp@0.22.0.0/src/server.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.22.0.0/src/server.bend&start_line=422&end_line=424 import Base # the slots a concurrency limit allows (max 0: no limit) def server.slots(+max: U32) -> IO(Chan(Unit)): Chan.new(Unit, Bool.pick(U32, U32.is_eq(max, 0), 1, max)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick 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=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit