Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

sysSleep(interval)

Package

system

Alias

Pkg Usage

sleep(interval)

Description

Excerpt
hiddentrue
Causes the system to sleep (suspends system processing) for the specified interval.

Causes the system 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
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

Interval

Integer

Yes

Duration of time in milliseconds.

Return Type

None

Examples

Example 1

Code Block
languagejs
sysSleep(1000);

As a result system processing is suspended for 1 second.

Example 2

Similar to the example above but uses the package.

Code Block
languagejs
use "system";/n/nsleep(10000);

As a result system processing is suspended for 10 seconds.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "system_routine" and space = currentSpace ( )
labelsarray_routines