Async JavaScript

The Right Way




Julián David Duque
Engineer at NodeSource
@julian_duque



Common Issues


Error handling
Unexpected results
Hard flow control
Callback Hell/Pyramid of Doom




Callback Pattern




Promises




Co-routines / Generators




async / await



Resources





NodeSchool


  • $ npm install -g promise-it-wont-hurt
    $ npm install -g learn-generators
    $ npm install -g async-you                             




See you next month!


https://meetup.com/suncoast-js
Made with Slides.com