Wirespec.wire.ms.of: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/wirespec.bend as Wirespec Lines 36-43 of emerging-ezhttp@0.21.0.0/src/wirespec.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/wirespec.bend&start_line=36&end_line=43 import Base # the deadline every socket call of an exchange gets: the timeout it was made # with, or the default (SPEC.md HTTP-CLI-1, 2) def wire.ms.of(m: Maybe<&2, U32>) -> U32: match m: case None{}: wire.ms.dflt() case Some{ms}: wire.ms.at(ms) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/wirespec.bend&name=wire.ms.at https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/wirespec.bend&name=wire.ms.dflt