@WornOffKeys
  @WornOffKeys
Worn Off Keys | Node JS - Event Handlers (2020) @WornOffKeys | Uploaded 4 years ago | Updated 15 hours ago
In this video we go over how to create your own event listener. We also go over the "MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 event listeners added. Use emitter.setMaxListeners() to increase limit" warning and how to fix it.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

🙋‍♂️ Need help? Ask in our Discord community:
wornoffkeys.com/discord

💡 Have an idea for a video or course? Request it here:
wornoffkeys.com/content-request

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

🕐 Timestamps:
00:00 Introduction
00:19 Listening for and firing events
02:27 Max listeners warning
03:49 Notes for Discord.JS
04:37 Outro

#javascript #nodejs #wornoffkeys

FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos.
Node JS - Event Handlers (2020)

Node JS - Event Handlers (2020) @WornOffKeys

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER