标签: node.js meteor
我有这样的代码
var res = Fiber(function() { var report; // some asynchronous operations, result is in report return report; }).run();
在res中,我每次都未定义。我没有回复,而是尝试了Fiber.yield(报告),但没有帮助。怎么办?我顺便使用Meteor。
光纤内部的功能运行良好,console.log返回良好的结果。