Skip to main content

target_for

Function target_for 

Source
pub(super) fn target_for(
    state: &AppState,
    actor: &Actor,
    named: Option<&str>,
    action: &str,
) -> Result<AgentDefinition, Refusal>
Expand description

The agent named (default: the caller), when the caller is it or leads it.