• Sleep for a given amount of time.

    Parameters

    • ms: number = 1000

      The number of milliseconds to sleep for. Defaults to 1000.

    Returns Promise<void>

    A promise that resolves when the sleep is complete.

Generated using TypeDoc