Outlook.com now has IMAP 13 years ago
finally, welcome in the 21st century.
HN user
Call me back Node
finally, welcome in the 21st century.
Nesting is not the problem, you see what you're doing (when you perform an async io request). And you still have the "if (e) return cb(e)" line... And on top of that, it does not look better.
cbs - cbSucces cbe - cbError
replaces all the "if (e) return cb(e)" lines with cbe when you call the async function.
A whole abstraction over js just because of this, running away from the problem...instead of solving it on the spot, keep running.