def client.limit

bend-kit-http2@0.4.0.0 · http2.bend:424

import bend-kit-http2@0.4.0.0/http2.bend as Http2
import Base

424def client.limit(m: Maybe<&2, U32>, active: U32) -> Bool:
425  match m:
426    case None{}:
427      True{}
428    case Some{max}:
429      U32.is_lt(active, max)

Uses (4)

Used by (1)