Lucee Function Reference

sleep()

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

Example

sleep(number duration):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
duration number  Yes Time, in milliseconds, to stop processing the thread.