spawn_admin

Function spawn_admin 

Source
pub async fn spawn_admin(
    meshes: impl IntoIterator<Item = impl AsRef<HostMeshRef>>,
    cx: &impl Actor,
    admin_addr: Option<SocketAddr>,
    telemetry_url: Option<String>,
) -> Result<String>
Expand description

Spawn a [MeshAdminAgent] that aggregates hosts from multiple meshes.

The admin agent runs on the caller’s local proc — the Proc of the actor context cx. Hosts are deduplicated by actor ID across all meshes.

See the mesh_admin module doc for the SA-* (spawn/aggregation), CH-* (client host), and AI-* (admin identity) invariants.