create_transform_node

Function create_transform_node 

Source
pub fn create_transform_node<I, O, Err>(
    prep_fn: impl Fn(I) -> BoxFuture<'static, Result<I, Err>> + Send + Sync + 'static,
    exec_fn: impl Fn(I) -> BoxFuture<'static, Result<O, Err>> + Send + Sync + 'static,
    post_fn: impl Fn(O) -> BoxFuture<'static, Result<O, Err>> + Send + Sync + 'static,
) -> impl TransformNode<I, O, Err>
where I: Clone + Send + Sync + 'static, O: Clone + Send + Sync + 'static, Err: Error + Send + Sync + 'static,
Expand description

Create a transform node from closures using the async syntax