Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Function threadLock

    • 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

        Log debugging information?

      Returns Promise<void>