阅读背景:

在Node.js中,如何以不同的频率更新页面的不同组件?

来源:互联网 

I'm trying to build a real time webpage to show some real time statistics. This webpage has 12 components. I'm using Ajax in SetTimeout to update each component. Since I'd like to update each component in different frequency, I write a setTimeout function for each component and gives each component a link (defined in "main.js"). Looks like:I'm trying to build a real time webpage to show




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

分享到: