We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fold this in: https://gist.github.com/3443021#accessing-meteors-full-environment-from-async-callbacks
Dror's comments:
You do a Meteor.call() from the client and then on the server, in your Meteor.method() you're doing an async call. By the time that call is done, you've already returned a value to the client. Use Future as described in https://gist.github.com/3443021 and http://stackoverflow.com/questions/13190328/meteorjs-async-code-inside-synchronous-meteor-methods-function
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Fold this in: https://gist.github.com/3443021#accessing-meteors-full-environment-from-async-callbacks
Dror's comments:
You do a Meteor.call() from the client and then on the server, in your
Meteor.method() you're doing an async call. By the time that call is
done, you've already returned a value to the client.
Use Future as described in https://gist.github.com/3443021 and
http://stackoverflow.com/questions/13190328/meteorjs-async-code-inside-synchronous-meteor-methods-function
The text was updated successfully, but these errors were encountered: