Skip to content

Sleep

wait

wait(callback, ms)

Delays execution for the specified amount of time. Equivalent to setTimeout(callback, ms).