Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript sleep thread

var millisecondsToWait = 500;
setTimeout(function() {
    // Whatever you want to do after the wait
}, millisecondsToWait);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #sleep #thread
ADD COMMENT
Topic
Name
7+4 =