7 ms·
Its a problem yes, but the nature of javascript makes this a difficult problem to address. Node tried addressing this with the 'domain' module to help with prop
by jjn2009 11y ago
Its a problem yes, but the nature of javascript makes this a difficult problem to address. Node tried addressing this with the 'domain' module to help with propagating errors upward more generically:
https://nodejs.org/api/domain.html https://nodejs.org/api/domain.html
But it was deprecated:
https://github.com/nodejs/node/issues/66 https://github.com/nodejs/node/issues/66
promises are a very nice way of drying out error handling and cleaning up callbacks for now.