Pause a DMScript execution.

Sleep pauses DMScript execution for the specified number of seconds. If used inside a parallel block, only the parallel thread is suspended for the duration of the specified delay – the other threads continue execution.

sleep takes a single named parameter:

Parameter Description
delay The number of seconds to wait


Suspend the current thread for 30 seconds

sleep(delay: 30);
Last modified May 19, 2020: after dmscript (aa9d9ae)