Skip to main content

InstanceId

Type Alias InstanceId 

Source
pub type InstanceId = SessionId;
Expand description

The ephemeral, spawn-unique daemon handle for a live session incarnation — exactly today’s SessionId (BLAKE3(name + now + counter), non-stable across restart). Kept as a transparent alias so the wire format and every existing call site stay byte-identical; the name documents that this is the LIVE handle, distinct from a DefinitionId. A daemon restart mints a new InstanceId for the same definition — the handle is the incarnation, not the identity.

Aliased Type§

pub struct InstanceId(pub u64);

Tuple Fields§

§0: u64