Wow, I did not know about domains. In the meantime, what approach do you take for async error handling?
I have found multiple libs but they all were too intrusive and/or syntax-sugary, so I attempted my own, which I do use: https://github.com/ypocat/laeh2 Always looking for better methods though. On Feb 10, 7:33 pm, Brad Carleton <[email protected]> wrote: > That sounds great! I really hope this is able to make it into 0.8. > > On Feb 10, 11:23 am, Ben Noordhuis <[email protected]> wrote: > > > > > > > > > On Fri, Feb 10, 2012 at 16:42, Brad Carleton <[email protected]> wrote: > > > Very interesting, so could a domain cover an entire request in your > > > typical web application. Basically,giving you the ability to respond > > > to any error that may occur in an async callback, because the domain > > > would be keeping the context of the initial request? That would be a > > > really big win for request based concurrent systems like web apps. > > > Yes, that's about right. -- 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
