• A debugging function to test latency or timeouts by forcibly locking the thread for an amount of time.

    Parameters

    • ms: number

      A number of milliseconds to lock

    • debug: boolean = false

    Returns Promise<void>