Skip to main content

SimpleFunctionFactory

Trait SimpleFunctionFactory 

Source
pub trait SimpleFunctionFactory {
    // Required method
    fn build<'async_trait>(
        self: Arc<Self>,
        spec: Value,
        input_schema: Vec<OpArgSchema>,
        context: Arc<FlowInstanceContext>,
    ) -> Pin<Box<dyn Future<Output = Result<SimpleFunctionBuildOutput>> + Send + 'async_trait>>
       where Self: 'async_trait;
}

Required Methods§

Source

fn build<'async_trait>( self: Arc<Self>, spec: Value, input_schema: Vec<OpArgSchema>, context: Arc<FlowInstanceContext>, ) -> Pin<Box<dyn Future<Output = Result<SimpleFunctionBuildOutput>> + Send + 'async_trait>>
where Self: 'async_trait,

Implementors§