Loading…

How can we avoid callbacks?

In order to avoid callbacks, use any one of the following routes:

  • Use modularization as it will break callback into an independent function.
  • Use promises.
  • Use yield with Promises and Generators.

Suggest An Answer

No suggestions avaliable!

Latest post from Node js Interview Questions

Ask Question