• Sleep for the specified amount of time in milliseconds. This function can be used to introduce delays in asynchronous operations.

    Parameters

    • timeMs: number

      The time in milliseconds to sleep.

    Returns Promise<null>