I'll mention Promises, which give you async versions of try/catch/finally[1] and:
- don't require code transformation - don't require new language features - don't require domains or native code (so they work in all browsers too) - provide an easy way to manage/dispose of resources [2] (which means process shutdown isn't mandatory) - come with control flow powers [3] - support dual promise/callback style API [4] - have optional support for long stack traces [5] - will become a part of EcmaScript 6 (Harmony) - will interoperate well with generators - are widely used in many popular client-side libraries [1]: http://spion.github.io/promise-nuggets/06-safety-of-then-exceptions.html [2]: http://spion.github.io/promise-nuggets/21-context-managers-transactions.html [3]: http://spion.github.io/promise-nuggets/ [4]: https://github.com/petkaantonov/bluebird/blob/master/API.md#nodeifyfunction-callback---promise [5]: https://github.com/petkaantonov/bluebird#how-do-long-stack-traces-differ-from-eg-q -- -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.