• Convert a promise to an async either.

    Generic

    L - left type

    Generic

    R - right type

    Returns

    AEither<L, R>

    Type Parameters

    • L

    • R

    Parameters

    • f: (() => Promise<R>)
        • (): Promise<R>
        • Returns Promise<R>

    Returns IAEither<L, R>

Generated using TypeDoc