I have this scenario:function one{Makes a query to a big mysql table}Function two{Makes another query to a big myslq table}res.render(showing results of the queries)The problem is that when render is executed the mysql queries are still in progress. What's the best way to be sure that the functions has finished before sending the render?--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
Karl-L. Rumpf klr...@gmail.com Málaga, Spain
Have you try node-pool module.?
--