SysLib.wait function

SysLib.wait suspends the current process for a specified number of seconds.

Package

eglx.lang

Syntax
static function wait(seconds decimal(9,2) in);
seconds
Number of seconds. You can specify fractions of a second down to one-hundredths.
Example use

The following example creates a 15-second pause:

SysLib.wait(15); 
Comments
You might use SysLib.wait when two asynchronously running programs need to communicate through a row in a shared database table. For example, you can use the function to suspend processing on one program until another program updates the row.

Compatibility

Table 1. Compatibility
Target Issue
Java No issues.
JavaScript SysLib.wait is ignored.