在Meteor中创建异步(node.js)



关于Meteor和node.js的几个问题:

Meteor是基于node.js的,但是我们可以在Meteor中做node.js吗?(或者与meteor一起使用?)

我想结合两个的力量,使这个(例如):http://www.youtube.com/watch?v=EqWD1WGrdjw,在/加上流星…

这可能吗?

我假设你想做异步的东西。你需要在Meteor中使用纤维(节点-纤维)。这里有来自cther的很棒的屏幕演示来解释它们:

  1. http://www.eventedmind.com/posts/nodejs-introducing-fibers
  2. http://www.eventedmind.com/posts/nodejs-using-futures

最新更新