runtimepy.net.server.struct package#
Module contents#
A module implementing a structure for tracking UI state and metrics.
- class runtimepy.net.server.struct.UiState(name: str, config: Dict[str, str | int | float | bool | None | Dict[str, str | int | float | bool | None] | List[str | int | float | bool | None]])[source]#
Bases:
RuntimeStruct,PsutilMixinA sample runtime structure.
- frame_period_ms: FloatPrimitive#
- json_metrics: ConnectionMetrics#
- poll() None[source]#
A method that other runtime entities can call to perform canonical updates to this struct’s environment.
- time_ms: FloatPrimitive#