Trait WorkerFunctionInvoke
Source pub trait WorkerFunctionInvoke {
// Required method
fn invoke<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
component_id: Uuid,
component_name: &'life1 str,
worker_name: Option<String>,
function_name: &'life2 str,
args: Vec<ValueAndType>,
return_type: Option<AnalysedType>,
) -> Pin<Box<dyn Future<Output = Result<Option<ValueAndType>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}