I would like to wait in a loop, what is the best way to achieve this ?
Here is my actual code :
var groups = ['461', '6726', '3284', '4', '121', '11', '399', '1735', '17', '19', '1614 ];
groups.forEach(function (value) {
myfunction(value);
});
I would like that myfunction() being called each 5 minutes.
I would like to loop through the groups array once and waiting between each item until the end is read
What is the best way ?