I recently did a Pramp interview where I was asked to create an event emitter. After reading several sources, it's still not clicking.
In basic words, what is or is not an event emitter? When would you want to create one? How is different from an event listener?