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:


delay                The number of seconds to wait


Example: Suspend the current thread for 30 seconds


sleep(delay: 30);