Async JavaScript

The Right Way




Julián David Duque
Engineer at NodeSource



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!


async javascript

By Julián Duque

async javascript

  • 3,279