Skip to main content

scope_persistent_state_root

Function scope_persistent_state_root 

Source
pub fn scope_persistent_state_root(
    root: PersistentStateRoot<'_>,
) -> ScopedPersistentStateRoot
Expand description

Route every default persistent runtime path through one caller-owned root.

This is the execution-wide counterpart to register_persistent_state_builtins_at_root. It covers durable consumers such as the agent session journal that resolve their paths during execution rather than when builtins are registered.