Skip to content

Instantly share code, notes, and snippets.

@mikeifomin
Created August 30, 2015 13:37
Show Gist options
  • Save mikeifomin/711db5193f42f44835ad to your computer and use it in GitHub Desktop.
Save mikeifomin/711db5193f42f44835ad to your computer and use it in GitHub Desktop.
Meteor timeout in server methods. #meteor #fibers #setTimeout
Meteor.wrapAsync(function (callback) {
Meteor.setTimeout(function () {
callback();
}, 1000);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment