Files
meteor/packages/ddp-server
Ben Newman f5821c88ee Allow server-side method implementations to return a Promise.
This does not mean that Meteor.call or Meteor.apply now return a Promise.
Completion of the method call is merely delayed until the Promise is
resolved or rejected, at which point the calling code asynchronously
receives the resulting value or exception.

These changes were inspired by this forum thread:
https://forums.meteor.com/t/fibers-and-meteor-promise-npm-pacakge/6531/7
2015-08-17 14:05:21 -04:00
..