In this tutorial, we are going to take a look at Node’s native EventEmitter
class. You’ll learn about events, what you can do with an EvenEmitter
, and how to leverage events in your application.
We’ll also cover what other native modules extend from the EventEmitter
class and some examples to understand what is going behind the scenes.
So in a nutshell, we will cover almost everything you need to know about the EventEmitter
class.
We will be using some basic ES6 features such as JavaScript classes and arrow functions. in this tutorial. It’s helpful, but not mandatory, if you have some prior knowledge of ES6 syntax.
#node #javascript #es6