Difference between revisions of "Sleep"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
 
(One intermediate revision by the same user not shown)
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:
void Functions.showMessage(long milliseconds);
:<syntaxhighlight lang="java" enclose="div">
void Functions.sleep(long milliseconds);
</syntaxhighlight>


;Throws:
;Throws:

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.