sleep..Root.time.sleepBlocks the execution of the current thread for given number of milliseconds.
Parameters: Int milliseconds
Return value: reference to this (time.sleep)
NativeCallable, Callable
import("time");
log(time.secondsSinceEpoch());
time.sleep(2000);
log(time.secondsSinceEpoch());