Function toPromise

  • Type Parameters

    • T

    • E = any

    Parameters

    • fn: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns ((...args) => Promise<T>)

      • (...args): Promise<T>
      • Parameters

        • Rest ...args: any[]

        Returns Promise<T>

Generated using TypeDoc