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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en