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

Asynchronous database calls #254

Closed
abhinvgupta opened this issue Dec 14, 2016 · 3 comments
Closed

Asynchronous database calls #254

abhinvgupta opened this issue Dec 14, 2016 · 3 comments

Comments

@abhinvgupta
Copy link

Hi, is there a way I could make my queries async. Like when doing a lot of update operations and i wish for them to be non-blocking so I could better my API's response time.

@kahmali
Copy link
Owner

kahmali commented Dec 14, 2016

Please see the discussion here for my answer on asynchronous REST endpoints.

@abhinvgupta
Copy link
Author

Yes I had seen that, but It doesnt seem right that we dont have the option of writing asnc db queries, which is default node behaviour. From what I understand meteor itself wraps all queries in something like async wrap and which is what restivus is built upon. But shouldnt a way exist by which we can undo the synchronous behaviour given by meteor.

@abhinvgupta
Copy link
Author

ping kahmali

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

No branches or pull requests

2 participants