Function as_async

  • Properly converts any function to an async function.

    Parameters

    • possibly_async_func: any

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

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

        • Rest ...args: any[]

        Returns Promise<any>

Generated using TypeDoc