阅读背景:

将setInterval与异步函数一起使用可能需要比间隔时间更长的时间

来源:互联网 

Is there a way to keep your asynch functions somewhat in order using setInterval? For instance, if you're doing some kind of IO connection and it takes longer than the interval time you set you get things a little off. I could increase the interval time to something that hopefully would cover it, but that's not sure fire enough. Is there a way to keep your asynch functions so




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

分享到: