Node.js · Junior · Question 40 of 75

What is an EventEmitter?

Explanation

Many Node.js objects are EventEmitters: HTTP servers, streams and process. Subscribe with on or once and fire events with emit.

Further reading

Problem with a question

Node.js · Junior · question 40

Test yourself

Take the Node.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz