Understanding EventEmitter | Understanding Node.js Core Concepts FREE VERSION

Cododev
Cododev
23.9 هزار بار بازدید - 2 سال پیش - Grab the complete and premium
Grab the complete and premium version of the course using this link:
https://www.udemy.com/course/understa...

In this video, we'll understand what exactly EventEmitter, which is an important object in Node.js, really is.

The Course - Free Version: Understanding Node.js Core Concepts C...

Code your own event emitter in Node.js: https://www.freecodecamp.org/news/how...
Learn those JavaScript concepts from this page: https://www.pagser.com/joseph/js

UPDATE (June 2022): As Arthur mentioned in the comments, there's still an issue in the events.js source code, and that quick fix will now regard all onceWrapper functions as the same thing. This will be problematic if we declare multiple once listeners with the same event name. If you take a look at the Node.js events.js file, you'll see how Node.js is handling those "once" functions.
I'll post an update if I get the chance to fix this issue. I'll also appreciate it if you can share your solutions to the problem if you come up with one!

--------------------------------------------------------------------
My LinkedIn Profile: LinkedIn: joseph-heidari
Cododev Website: https://www.cododev.ca/
2 سال پیش در تاریخ 1401/02/31 منتشر شده است.
23,999 بـار بازدید شده
... بیشتر