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



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

Answer / 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

More Node.js Interview Questions

How can plain html be rendered in express js?

1 Answers  


How we can read a file in node js?

0 Answers  


What is the use of QueryString in Node.js?

1 Answers  


Why to use net.socket in node.js?

1 Answers  


Can you access DOM in node?

1 Answers  


What are the differences between synchronous and asynchronous methods of the fs module?

1 Answers  


What is npm for?

1 Answers  


Why node js is faster?

1 Answers  


Explain repl in node.js?

1 Answers  


What is Tracing in Node.js?

1 Answers  


Does facebook use server side rendering?

1 Answers  


What is the difference between node.js and ajax?

1 Answers  


Categories