Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java wait(timeout)

import java.util.concurrent.TimeUnit;

...

try {
	TimeUnit.SECONDS.sleep(1);
} catch (Exception e) {}

// .MILLISECONDS.sleep, .MINUTES.sleep, etc. are also available
 
PREVIOUS NEXT
Tagged: #java
ADD COMMENT
Topic
Name
9+6 =