pub async fn eval_transform(
transform: &EdgeTransform,
inputs: Vec<Value>,
registry: &TransformRegistry,
) -> Result<Value, EngineError>Expand description
Evaluate an EdgeTransform against a list of input values.
PassThrough— returns the first input value, orValue::Nullif empty.Named(name)— looks upnameinregistry, calls it, and awaits the result.Inline(f)— callsfsynchronously (sync closure, no await).Script(code)— evaluatescodevia the embedded Rhai engine. The script receives the inputs as aninputsarray variable and must return a value.