Skip to content
YosoiDocs

Timed

yosoi.browser.Timed

class Timed(ImmutableModel):

Apply a local execution deadline to one action.

Exactly one timeout field must be supplied.

Attributes: kind: Wire discriminator identifying this declaration. action: Action wrapped by this deadline. timeout: Unit-bearing duration; mutually exclusive with timeout_us. timeout_us: Legacy positive microsecond deadline; mutually exclusive with timeout.

Source: python/yosoi/browser.py:482

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

kind: Literal['timed'] = 'timed'
action: Step
timeout: Duration | None = None
timeout_us: PositiveU64 | None = None