Evercatch - v0.8.0
    Preparing search index...

    Type Alias ResultAsyncFn<F, E>

    ResultAsyncFn: (
        ...args: Parameters<F>,
    ) => ResultAsync<Awaited<ReturnType<F>>, E>

    Represents an asynchronous function that returns a ResultAsync.

    Type Parameters

    • F extends AnyAsyncFunction

      The async function type.

    • E

      The type of the error.

    Type declaration

      • (...args: Parameters<F>): ResultAsync<Awaited<ReturnType<F>>, E>
      • Parameters

        • ...args: Parameters<F>

        Returns ResultAsync<Awaited<ReturnType<F>>, E>