def server.slots
import emerging-ezhttp@0.21.0.0/src/server.bend as Serverimport Base
422# the slots a concurrency limit allows (max 0: no limit)
423def server.slots(+max: U32) -> IO(Chan(Unit)):
424 Chan.new(Unit, Bool.pick(U32, U32.is_eq(max, 0), 1, max))