Abstract
As you have already seen in this book, Node.js has a robust framework for handling many routines and important tasks. In this chapter you will get a full understanding of a few concepts that you saw in earlier chapters. You will first take an in-depth look at a cornerstone of Node.js, EventEmitters. Regarding these you will see recipes on how to create custom events and add listeners for them, as well as how to create single events. All of this will come together to demonstrate how you can reduce an unending callback nightmare by strategically implementing events in Node.js.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Cory Gackenheimer
About this chapter
Cite this chapter
Gackenheimer, C. (2013). Using Events and Child Processes. In: Node.js Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6059-2_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6059-2_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6058-5
Online ISBN: 978-1-4302-6059-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books