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

Sleep
Syntax
Sleep(num);
num 
Description
Supsends the script execution for the specified amount of time. For example, this can be useful when wating 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 Updated: 2013-03-01