User Tools

Site Tools


en:code:core:execution

This is an old revision of the document!


Table of Contents

Execution

The Execution object provides functions to manipulate the current execution.

Functions

pause

Pauses the script execution.

Syntax

Execution.pause(duration);

Arguments

  1. duration - (int) pause duration in milliseconds

Returns

  • (Execution) this Execution

Example

Execution.pause(5000); //Pauses the execution for five seconds

See also

Notes

The effective pause duration may be different (+/- 50 ms) than the given argument due to operating system precision.

sleep

Alias of the pause function.

stop

Stops the current execution.

Syntax

Execution.stop();

Returns

  • (Execution) this Execution
en/code/core/execution.1303332111.txt.gz · Last modified: (external edit)