Skip to main content

durable_identity

Function durable_identity 

Source
fn durable_identity(
    worker_label: Option<&str>,
    dynamic_labels: &[String],
) -> (Option<String>, bool)
Expand description

(team_role, durable) for a caller’s worker label (None = the lead or a plain catalog session). A lead is always durable and targets itself. A worker is durable when its label holds a persisted row in the session store, since that row is what brings it back.