0

Forgive me; I'm a beginner. Using 'asyncHandler' makes it easier to handle errors than directly using 'async' functions in Nodejs. So should I use it every time instead of directly using 'async' or when should I use it?

  • 1
    Please provide a code sample so we’re all on the same page what exactly you mean. – deceze Aug 05 '23 at 05:44
  • This link may help you: https://stackoverflow.com/questions/54495711/async-await-vs-then-which-is-the-best-for-performance – Raeisi Aug 05 '23 at 10:13

0 Answers0