Function sleep

  • Sleeps for the specified number of millisecs.

    Parameters

    • ms: number

      number of ms to sleep

    Returns Promise<unknown>