Skip to main content

init

Function init 

Source
pub async fn init(config: &impl RolloutConfigView) -> Option<StateDbHandle>
Expand description

Initialize the state runtime for thread state persistence.

This is the process entry point for local state: it opens the SQLite-backed runtime, applies rollout metadata backfills as needed, and returns the initialized handle.