Skip to content
YosoiDocs

PositiveMilliseconds

yosoi.browser.PositiveMilliseconds

PositiveMilliseconds = Annotated[int, Field(strict=True, gt=0, le=((1 << 64) - 1) // 1000)]

Positive integer milliseconds whose microsecond conversion fits in u64.

Accepts 1 through (2**64 - 1) // 1_000 without numeric coercion. This validates the representable duration range; operation-specific deadlines still apply.

Source: python/yosoi/browser.py:64