Ext.Sleep( milliseconds )

Description

(On-premise only)

Freezes script execution and the thread that called the script for the specified number of milliseconds. After the delay has elapsed, execution continues normally. If milliseconds is zero or negative, the thread relinquishes the remainder of its current time slice and there is no additional delay.

Argument

milliseconds

Use the argument to specify the number of milliseconds for which a script execution should freeze.

Return Values

Empty.

Related Topics

Extension Functions