Skip to end of banner
Go to start of banner

sysSleep

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Description

Causes the current thread to sleep (suspends processing) for the specified interval. Do not use it in the UI processing (like synchronous post-functions) otherwise users will be forced to wait.

Parameters

Return Type

None

Examples

Example 1

sysSleep("1s");

As a result the executing thread is suspended for 1 second.

Example 2

Similar to the example above but uses the package.

use "system";
sleep("10s");

As a result the executing thread is suspended for 10 seconds.

See also

  • No labels