Difference between revisions of "Sleep"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
 
Line 2: Line 2:
:<tt>Functions.sleep(long milliseconds)</tt>
:<tt>Functions.sleep(long milliseconds)</tt>
;Description:
;Description:
:*Pauses the current process for the specified number of milliseconds.
:Pauses the current process for the specified number of milliseconds.


;Syntax:
;Syntax:
:<syntaxhighlight lang="java" enclose="div">
:<syntaxhighlight lang="java" enclose="div">
void Functions.showMessage(long milliseconds);
void Functions.sleep(long milliseconds);
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 22:18, 24 June 2011

Functions.sleep(long milliseconds)
Description
Pauses the current process for the specified number of milliseconds.
Syntax
void Functions.sleep(long milliseconds);
Throws
  • InterruptedException if the process was awakened by the JVM (or terminated) before the specified wake-up time.