Skip to main content

invoke

Function invoke 

Source
pub fn invoke(
    _node: &NodeProto,
    inputs: &[(&str, &dyn SlotValue)],
    _ctx: &mut RuntimeResourceRef<'_>,
) -> Result<DispatchResult, OpError>
Expand description

Invoke fn - forwards the input value via polymorphic SlotValue::clone_boxed. The concrete type survives the hop; downstream consumers downcast to the type the graph contract guarantees at the consumer site.