delay(milliseconds)

Suspends the calling thread for a number of milliseconds. During a sleep period, checks at 100 millisecond intervals to see whether the sleep should be terminated.

Type: function

Parameter(s):

  • milliseconds {Number}:

    The delay time in milliseconds.