• +91 9723535972
  • info@interviewmaterial.com

NodeJS Interview Questions and Answers

Question - What is the use of EventEmitter in Node.js?

Answer -

Every single object in Node.js that emits is nothing but an instance of the EventEmitter class. These objects have a function that is used to allow the attachment between the objects and the named events.

Synchronous attachments of the functions are done when the EventEmitter object emits an event.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners