Type alias AsyncFunc<TResult>

AsyncFunc<TResult>: ((...args: any[]) => Promise<TResult>)

Type Parameters

  • TResult extends any = any

Type declaration

    • (...args: any[]): Promise<TResult>
    • A generic, async function.

      Returns

      The promise with the result of the function.

      Parameters

      • Rest ...args: any[]

        One or more arguments for the function.

      Returns Promise<TResult>

Generated using TypeDoc