Javascript ES7 – Async / Await in under 3 minutes




A quick demonstration on how some of the asynchronous solutions work in Javascript. We talk about Callbacks, Promises, and then the ES7 Async / Await method.

https://babeljs.io/
https://github.com/typicode/json-server
http://rossboucher.com/await/#/
http://stackoverflow.com/questions/28708975/transpile-async-await-proposal-with-babel-js



Original source


17 responses to “Javascript ES7 – Async / Await in under 3 minutes”

  1. Good stuff, very concise! One thing I like about async/await syntax is that you now see syntactically when a function is fundamentally asynchronous, without having to dig down and see at the bottom that it's executing or returning a promise. Makes me feel for that brief second like JS now has types! 🙂

Leave a Reply