...
Excerpt |
---|
|
Causes the system current thread to sleep (suspends system processing) for the specified interval. |
Causes the system current thread to sleep (suspends system processing) for the specified interval. Do not use it in the UI processing (like synchronous post-functions) otherwise users will be forced to wait.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
Interval | Integerinterval | Yes | Duration of time in millisecondsas interval. | |
Return Type
None
Examples
Example 1
Code Block |
---|
|
sysSleep(1000"1s"); |
As a result system processing the executing thread is suspended for 1 second.
...
Code Block |
---|
|
use "system";
sleep(10000"10s"); |
As a result system processing the executing thread is suspended for 10 seconds.
...