Type Alias AsyncFunction<P, R>

AsyncFunction: (...args: P) => Promise<R>

async function

Type Parameters

  • P extends any[] = any[]
  • R = any

Type declaration

    • (...args: P): Promise<R>
    • Parameters

      • ...args: P

      Returns Promise<R>