阅读背景:

如何使节点js等待函数执行(即使需要时间)然后执行下一个语句

来源:互联网 

How to make node js to wait for function to execute (even if it take time) and then execute the next statement . for me problem is for loop prints all urls first it does nt wait for require request function to check each url the http response. It just prints all urls. beacuse of this i am getting the errorHow to make node js to wait for function to exe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: