Function function_compose::lift_async_fn4

source ยท
pub fn lift_async_fn4<'a, T1, T2, T3, T4, T5, F: FnOnce(T1, T2, T3, T4) -> BoxFuture<'a, Result<T5, FnError>> + Send + Sync + 'a>(
    f: F,
) -> BoxedAsyncFn4<'a, T1, T2, T3, T4, T5>
Expand description

Function to box FnOnce sync function with 4 aguments and coerce it to BoxedAsyncFn4