Skip to main content

route_call

Function route_call 

Source
pub fn route_call<'g, H: Host>(
    host: &mut H,
    registry: &ExtensionRegistry<'_>,
    cache: &mut PreparedCallCache,
    ctx: &CallExecutionContext,
    gate: Option<&mut (dyn SentinelPolicyGate + 'g)>,
    last_outcome: &mut Option<DispatchOutcome>,
    budget: &mut Budget,
    path: &str,
    pos_args: &[Value],
    named_args: &[(String, Value)],
    span: Span,
) -> Result<Value, Diagnostic>
Expand description

Unified host and extension call router used by eval, bytecode, and task_scheduler.