- liftPar<TArgs, T>(f): (<A>(...elems) => AsyncIor<A, T>)
-
Type Parameters
-
TArgs extends unknown[]
-
T
Parameters
-
f: ((...args) => T | PromiseLike<T>)
-
- (...args): T | PromiseLike<T>
-
Returns T | PromiseLike<T>
Returns (<A>(...elems) => AsyncIor<A, T>)
-
- <A>(...elems): AsyncIor<A, T>
-
Parameters
-
Rest
...elems: {
[K in keyof TArgs]: Ior<A, TArgs[K]> | AsyncIorLike<A, TArgs[K]>
}
Adapt a synchronous or an asynchronous function to be applied in the context of
Ior
orAsyncIorLike
.