Skip to main content

admit_as

Function admit_as 

Source
pub async fn admit_as(
    purpose: &'static Purpose,
    entity_id: impl Into<String>,
    generation: u64,
    class: Class,
) -> Option<Slot>
Expand description

admit in a class the caller chooses, for the naming calls: interactive for a subagent that just started or a row the user opened, background for the backlog pass over historical ones. With no queue limit: a name arrives as a subagent:named event, not as an RPC reply someone stops waiting for, and an eager name is claimed once (naming_triggered), so one that gave up in the queue would never come.