Skip to main content

spawn_and_init

Function spawn_and_init 

Source
async fn spawn_and_init(
    component: &str,
    entry: &PackageEntry,
    spawn_env: &PackageSpawnEnv<'_>,
    atlas: &mut AtlasClient,
) -> Result<Spawned>
Expand description

Spawn one package and wait for its provider to register with Atlas.

The selected shared or explicit legacy Driver is verified before INIT/ACTIVATE and receives the entry’s config. Omission and explicit shared selections stay shared-only; only an exact namespace legacy selection may accept an upgraded shared runtime Driver.