Asyn mechanism is useful in those tasks that act as servant, just give those tasks order such as "Come on, do something for me and get back as soon as you've finished", that's it.
Your main flow should move forward smoothly while asyn methods are executing, just mind when the result is returned. On Wed, Aug 29, 2012 at 8:47 PM, Markus Lanz <[email protected]> wrote: > Greetings, > > I am asking myself when async ist usefull and when not. > Is it just usefull when I got I/O or should I even make every code in my > project async with callback methods? > > -- > 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 > -- Nguyen Hai Duy Mobile : 0914 72 1900 Yahoo: nguyenhd_lucky -- 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
