Skip to content
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

Support Promise #6

Closed
bubuzzz opened this issue Nov 7, 2016 · 2 comments
Closed

Support Promise #6

bubuzzz opened this issue Nov 7, 2016 · 2 comments
Labels

Comments

@bubuzzz
Copy link

bubuzzz commented Nov 7, 2016

Currently, the result needs to be processed through callback. Is there any plan to support Promise in the near future to leverage the async/await ?

@jedireza
Copy link
Owner

jedireza commented Nov 7, 2016

Thanks for opening an issue. This was asked in hapi-mongo-models before I abstracted into mongo-models.

Please reference that old discussion here: jedireza/hapi-mongo-models#6

@jedireza
Copy link
Owner

📣 Async/await support is on the menu now. Tracked via: #24 and help is very much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants