Skip to main content

eval

Function eval 

Source
pub fn eval(
    f: &ExternalFn,
    args: &[Value],
    timeout: Duration,
) -> Result<Value, ExtFnError>
Expand description

Evaluate one descriptor on typed arguments with an explicit timeout.

Validates arity and argument types (no subprocess needed for those), then dispatches to the language runtime and type-checks the returned value against return_type.