Skip to main content

activate

Function activate 

Source
pub async fn activate(
    skill_id: &str,
    ctx: &mut ActivationContext,
    invoke_type: InvokeType,
) -> Result<ActivatedSkill, ActivationFailure>
Expand description

Admit one skill without widening the run’s effective policy.

Dependency startup, filtering, and collision checks precede body admission. The caller serializes this operation so simultaneous activations cannot race the max_active limit.