---
title: "Discussion on \"Why and how to use the the Node.js Event Emitter in real projects?\" | Hashnode"
description: "Discussion on \"Why and how to use the the Node.js Event Emitter in real projects?\". The Observer pattern and the Event Emitter\nThe Observer pattern defines an object (called the subject) that can notify a set of observers (or listeners) when a change in its state occurs.\nIt can be implemented in OOP by using a class that can registe..."
url: "https://hashnode.com/posts/why-and-how-to-use-the-the-nodejs-event-emitter-in-real-projects/62aca16d2b2b09182b6592bc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why and how to use the the Node.js Event Emitter in real projects?](https://amrelmohamady.hashnode.dev/why-and-how-to-use-the-the-nodejs-event-emitter-in-real-projects?utm_source=hashnode&utm_medium=feed)

The Observer pattern and the Event Emitter The Observer pattern defines an object (called the subject) that can notify a set of observers (or listeners) when a change in its state occurs. It can be implemented in OOP by using a class that can registe...

Apr 14, 2022 · 3 min read · amrelmohamady.hashnode.dev  
Updated Apr 29, 2024  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#backend](https://hashnode.com/tag/backend)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)

## Written by

[Amr Elmohamady](https://hashnode.com/@AmrElmohamady)

@AmrElmohamady

  
[View profile](https://hashnode.com/@AmrElmohamady)

CSE Student | Software Developer | Backend & Databases

CSE Student | Software Developer | Backend &amp; Databases

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
