Skip to main content

handle_session_start

Function handle_session_start 

Source
pub async fn handle_session_start(
    storage: &Storage,
    registry: &AdapterRegistry,
    project: &Project,
    home: &Path,
    rng: &mut ChaCha8Rng,
) -> Result<DeploymentState>
Expand description

Decide which variant to deploy for a fresh session, apply that variant’s config to disk via the adapter, and persist the choice in the project’s deployment-state file.