Skip to main content

run_intent_routed

Function run_intent_routed 

Source
pub fn run_intent_routed(
    cx: &mut Cx,
    intent: &CompiledIntent,
    args: &Expr,
    policy: &RoutePolicy<'_>,
) -> Result<Expr>
Expand description

Runs a compiled intent through a cost-aware route ladder and returns only the accepted decoded answer.