common_function::handlers

Trait FlowServiceHandler

source
pub trait FlowServiceHandler: Send + Sync {
    // Required method
    fn flush<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        catalog: &'life1 str,
        flow: &'life2 str,
        ctx: QueryContextRef,
    ) -> Pin<Box<dyn Future<Output = Result<FlowResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}
Expand description

This flow service handler is only use for flush flow for now.

Required Methods§

source

fn flush<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, catalog: &'life1 str, flow: &'life2 str, ctx: QueryContextRef, ) -> Pin<Box<dyn Future<Output = Result<FlowResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§