October 2015
Intermediate to advanced
520 pages
12h 34m
English
CHAPTER 15
![]()
Async.js
Always something new, always something I didn’t expect, and sometimes it isn’t horrible.
—Robert Jordan
Coordinating software flow can be cumbersome, especially when asynchronous operations finish at different times. Chapter 16 demonstrated how promises can be used to address this problem. This chapter discusses Async.js, a callback-driven JavaScript library that provides a suite of powerful functions to manage asynchronous collection manipulation and control flow.
Chapter 16 covered three common flows in which asynchronous code can be problematic: sequential flow, parallel flow, and pipeline flow. To address these flows ...