sleep

Causes the current thread to stop processing for a specified period of time.

sleep(duration) → returns void

sleep Argument Reference

duration
Required

Time, in milliseconds, to stop processing the current thread

Fork me on GitHub