type Gate
import bend-kit-gateway@0.3.0.0/gateway.bend as Gatewayimport Base
import bend-kit-resources@0.1.0.0/resources.bend as Res
import bend-kit-cache@0.3.0.0/cache.bend as C
7# The shared state of one gateway. `held` joins every unit that the pool lent
8# and that no finish has given back yet.
9type Gate is Type:
10 Gate{pool: Res.Pool, held: Res.Grant, cache: C.Cache<String>}