Skip to main content

fork_session

Function fork_session 

Source
pub async fn fork_session(
    session_id: &str,
    directory: Option<&str>,
) -> Result<ForkSessionResult>
Expand description

Fork a session, creating a new session branching from the original

ยงArguments

  • session_id - The session ID to fork from
  • directory - Optional working directory context