- Node.js Design Patterns
- Mario Casciaro Luciano Mammino
- 111字
- 2021-06-18 18:15:07
Summary
In this chapter, we made our first contact with the practical aspects of writing asynchronous code. You discovered the two pillars of the entire Node.js asynchronous infrastructure—the callback and the EventEmitter—and we explored in detail their use cases, conventions, and patterns. We also explored some of the pitfalls of dealing with asynchronous code and you learned about the ways to avoid them. Mastering the content of this chapter paves the way toward learning the more advanced asynchronous techniques that will be presented throughout the rest of this book.
In the next chapter, you will learn how to deal with complex asynchronous control flows using callbacks.
推薦閱讀
- DevOps:軟件架構師行動指南
- Expert C++
- Vue.js快跑:構建觸手可及的高性能Web應用
- Vue.js 3.x從入門到精通(視頻教學版)
- iOS開發實戰:從零基礎到App Store上架
- Linux網絡程序設計:基于龍芯平臺
- 3D少兒游戲編程(原書第2版)
- Express Web Application Development
- 51單片機C語言開發教程
- HTML+CSS+JavaScript編程入門指南(全2冊)
- Visual Basic程序設計(第三版)
- 深入淺出Python數據分析
- Docker on Windows
- Getting Started with RethinkDB
- Node.js Web Development