OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
web_navigation_ui_state.WebNavigationUiState Class Reference

Store the latest decoded navigation messages for HTTP consumers. More...

Public Member Functions

tuple[int, WebNavigationSnapshot] versioned_snapshot (self)
 Return the current change generation with an immutable snapshot.
tuple[int, WebNavigationSnapshot]|None wait_for_update (self, int after_generation, *, float timeout_s=15.0)
 Wait until state changes; return None on heartbeat timeout.

Detailed Description

Store the latest decoded navigation messages for HTTP consumers.


The documentation for this class was generated from the following file:
  • apps/webUi/web_navigation_ui_state.py