Skip to main content

restore_snapshot

Function restore_snapshot 

Source
pub fn restore_snapshot(
    name: &str,
    base_dir: &Path,
) -> AgentResult<SessionContext>
Expand description

Restore a session from a snapshot.

Creates a new session from the snapshot data. Returns the new session context.