pub trait ComponentInvoker: Send + Sync {
// Required methods
fn get_component(&self, name: &str) -> Option<Component>;
fn invoke<'a>(
&'a self,
component_name: &'a str,
function_name: &'a str,
args: Vec<Value>,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'a>>;
}Expand description
Invoke components by name.