Stops execution for a specified amount of time.
Warning: This stops execution of both the JavaScript runtime and the game thread. This is only for specific use cases (use setTimeout instead.)
The amount of time to sleep.
Generated using TypeDoc
Stops execution for a specified amount of time.
Warning: This stops execution of both the JavaScript runtime and the game thread. This is only for specific use cases (use setTimeout instead.)