-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
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
Helper function to "promisify" method calls #2126
Comments
Blog post also released: https://blog.meteor.com/using-promises-on-the-client-in-meteor-fb4f1c155f84#.dlpuuizcu |
This could be useful especially in callback chained functions we have inside our core. |
Close this issue because the helper function is done platform/apinf_packages/core/helper_functions/promisify_call.js Lines 9 to 17 in 71770c6
|
ghost
removed
the
icebox
label
Dec 7, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider adding helper function to core helper functions, use of Promises would make chained Meteor calls easier to read.
Reference: https://forums.meteor.com/t/start-using-async-await-instead-of-promises-and-callbacks/17037/52
The text was updated successfully, but these errors were encountered: