- 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.
推薦閱讀
- Effective C#:改善C#代碼的50個有效方法(原書第3版)
- Data Analysis with Stata
- GeoServer Beginner's Guide(Second Edition)
- Learning Hunk
- Oracle Exadata專家手冊
- PHP 7+MySQL 8動態網站開發從入門到精通(視頻教學版)
- Learning OpenStack Networking(Neutron)(Second Edition)
- Nginx Lua開發實戰
- C#程序設計教程(第3版)
- Building Wireless Sensor Networks Using Arduino
- Java零基礎實戰
- Hands-On Nuxt.js Web Development
- 從零開始學UI:概念解析、實戰提高、突破規則
- 你真的會寫代碼嗎
- Python編程快速上手2