pub fn transform_node<P, E, Po, I, O, Err>(
prep_fn: P,
exec_fn: E,
post_fn: Po,
) -> impl TransformNode<I, O, Err>where
I: Clone + Send + Sync + 'static,
O: Clone + Send + Sync + 'static,
Err: Error + Send + Sync + 'static,
P: Fn(I) -> BoxFuture<'static, Result<I, Err>> + Send + Sync + 'static,
E: Fn(I) -> BoxFuture<'static, Result<O, Err>> + Send + Sync + 'static,
Po: Fn(O) -> BoxFuture<'static, Result<O, Err>> + Send + Sync + 'static,
Expand description
Create a new transform node from closures