adspace


List down the tasks which should be done asynchronously using the event loop?

Answer Posted / Sakshi Rastogi

Tasks that are I/O bound, such as reading or writing files, making network requests, and handling user events, should be performed asynchronously using Node.js's event loop to avoid blocking the main thread and improving overall performance.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can read a file in node js?

568


Is node js losing popularity?

588