Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

d sleep 1 second

Thread.sleep( dur!("msecs")( 50 ) );  // sleep for 50 milliseconds
Thread.sleep( dur!("seconds")( 5 ) ); // sleep for 5 seconds
Source by dlang.org #
 
PREVIOUS NEXT
Tagged: #sleep
ADD COMMENT
Topic
Name
1+1 =