Sleep
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 |
Example
Suspend the current thread for 30 seconds
sleep(delay: 30);
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified August 31, 2024: Signed-off-by: tracyragan <[email protected]> (20379ca)