• Register
Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.

How can you avoid callback hells

0 votes
How can you avoid callback hells?
asked Aug 16 in Node.js by Navneet Gaur

1 Answer

0 votes
There are following ways to solve callback hells in node.js:

    1. Use control flow library, like async
    2. Use generators with Promises
    3. Modularization: break callbacks into independent multiple functions
    4. Use async/await
answered Oct 4 by Developerhelpway (1,000 points)