Script functions reference > Script functions in alphabetical order > S > Sleep

Sleep
Syntax
Sleep(num);
num 
Description
Suspends the script execution for the specified amount of time. For example, this can be useful when waiting for I/O operations to complete.
Returns
1
0
Example
$ret = sleep(200); //the script execution is suspended for 200 ms
OpenText StreamServe 5.6.2 Updated: 2018-01-26