Please sign in to comment.
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
- Loading branch information...
Showing with 96 additions and 22 deletions.