Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

run a while loop for certain time javascript

var keepCalling = true;
setTimeout(function () {
    keepCalling = false;
}, 60000);

while (keepCalling) {
    callPeople();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #loop #time #javascript
ADD COMMENT
Topic
Name
6+8 =