May 31, 2020 in Node.Js
Q:

What is EventEmitter in Node.js?

1 Answer

0 votes
May 31, 2020

All objects that emit events are instances of the EventEmitter class. These objects expose an eventEmitter.on() function that allows one or more functions to be attached to named events emitted by the object.

When the EventEmitter object emits an event, all of the functions attached to that specific event are called synchronously.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
May 31, 2020 in Node.Js
...