Subscribe to Evented Mind to watch the full video.

Already have an Evented Mind subscription?

Subscribe to Evented Mind to watch the full video.

Need a second look? Watch again

Introduction to Node.js

Event Handling

Classes in Node.js can be "Event Emitters" which means we can listen and respond to certain events, just like we can in browser programming. For example, the http class provides a connection event that we can attach listeners to. In this example we'll attach an event listener for the connection event. Then we'll attach an event listener to the finish event of the response.

  • Node.js
Join the Discussion

Want to leave a comment? .