Basic example

The first Meteor method returns ‘undefined’ because the callback isn’t
executed until the callFunction() is done, but Meteor continues
executing the code after callFunction(). The second Meteor method
(assuming you click the button a second or two later) will be able to
return the correct value, since answer will have had the correct value
written to it.