O'Reilly logo

Async JavaScript by Trevor Burnham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What We’ve Learned

In this chapter, we saw how common async patterns can be implemented with minimal boilerplate using the right flow control functions. Async.js has become the number-one flow control library by offering a robust combination of collection iteration and task-wrangling methods. If you have a flow control problem, the odds are very good that Async.js has a solution. Or if you’re more of the do-it-yourself type, consider Step.

Isaac Schlueter, lead developer of the Node.js project, made a very small flow control library called Slide,[43] which is used in npm. In Slide’s README, he wrote this:

You should use it as an example of how to write your own flow control utilities. You’ll never fully appreciate a flow control lib that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required