docs: updates state manager docstring (adds DataServiceCache link)

This commit is contained in:
Mose Müller 2025-03-25 14:05:21 +01:00
parent 92b2326dfc
commit 4c7b386ab4

View File

@ -73,7 +73,8 @@ class StateManager:
The StateManager is used by the web server to apply updates to service attributes The StateManager is used by the web server to apply updates to service attributes
and to serve the current state to newly connected clients. Internally, it creates a and to serve the current state to newly connected clients. Internally, it creates a
`DataServiceCache` instance to track the state of public attributes and properties. [`DataServiceCache`][pydase.data_service.data_service_cache.DataServiceCache]
instance to track the state of public attributes and properties.
The StateManager also handles state persistence: it can load a previously saved The StateManager also handles state persistence: it can load a previously saved
state from disk at startup and periodically autosave the current state to a file state from disk at startup and periodically autosave the current state to a file