• Adapt a synchronous or an asynchronous function to be applied in the context of Ior or AsyncIorLike.

    Type Parameters

    • TArgs extends unknown[]

    • T

    Parameters

    • f: ((...args) => T | PromiseLike<T>)
        • (...args): T | PromiseLike<T>
        • Parameters

          • Rest ...args: TArgs

          Returns T | PromiseLike<T>

    Returns (<A>(...elems) => AsyncIor<A, T>)

Generated using TypeDoc