adspace


What are the two types of API functions in Node.js ?

Answer Posted / Prasenjit Nayban

The two types of API functions in Node.js are:n- Synchronous functions: Blocking functions that execute synchronously and hold the event loop until they complete their execution.n- Asynchronous functions: Non-blocking functions that run concurrently, allowing the event loop to continue processing other tasks.

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?

571


Is node js losing popularity?

590