I am trying to return a value from a Meteor.method
returned by an async callback function, like so:
Meteor.method('myMethod', () => {
asyncFunction(result => {
// Meteor.method should return this result
});
});
Where should I put the return result;
statement?