⚠️ Internal: This API is not publically exported by the package.
  • Pause execution asynchronously for the given amount of time

    Parameters

    • milliseconds: number

    Returns Promise<unknown>

    Example

    await wait(1000) // 1 second