Wait a certain amount of time after every nth iteration

前端 未结 0 1694
暗喜
暗喜 2020-12-25 10:50

I am trying to create a loop in Nodejs/Javascript that performs 10 batches of functions at a time.

For example:

for(let i =0 ; i < 40 ; i++){

  if(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题