This question already has an answer here:
I've been using Nodejs and I really dislike callbacks (as i think most people do.) I'm starting to learn about promises and generators. Both are a lot cleaner and I'd like to forget the horrors of callbacks all together and erase them from my memory.
Is there any reason I need to use callbacks. Can I completely abandon them and use promises or generators instead of them and never need to write another callback? Or do they have some use case where they are needed?