On Thu, Mar 15, 2012 at 10:12 AM, annas <[email protected]> wrote: > If this requirements will not achieve by using above method please > tell good method .
First you have to understand this: http://docs.nodejitsu.com/articles/getting-started/control-flow/what-are-callbacks Then you could use/study the async-library (https://github.com/caolan/async) and its parallel-function to get the results back in the order you requested them and process them further. https://github.com/caolan/async#parallel But again, first you have to understand the whys and the hows of callbacks in an asynchronous world. -- 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
