开发者

JQuery equivalent of Node.js Step / Async modules

开发者 https://www.devze.com 2023-03-19 14:00 出处:网络
Do you know any JQuery plugin which is equivalent of Node.js Step or Async modules? Here are descriptions:

Do you know any JQuery plugin which is equivalent of Node.js Step or Async modules? Here are descriptions:

https://github.com/creationix/step/blob/maste开发者_JAVA百科r/README.markdown https://github.com/caolan/async/blob/master/README.md


$.Deferred

jQuery has deferred execution in it's API. That's simply what step and async do. Use this.


Caolan McMahon has written async library which can be used both in the browser and Node. This way you can share the same code if you want to switch from node <--> browser.

0

精彩评论

暂无评论...
验证码 换一张
取 消