This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

sleep

sleep(milliseconds): void

Suspend script execution for given number of milliseconds.

Table 1. Parameters

milliseconds

Integer

Number of milliseconds to suspend script execution for.

Return

No return value

sleep(1000);   // sleep for 1 second