ASYNC + AWAIT (or How To Write Syncronous Looking Code, Without The Wait)
Flow Control in JavaScript is hard! Native Promises in JavaScript have helped immensely, but the syntax is still a little callback-y. With Async + Await, we can write synchronous looking code without losing any of the benefits of JavaScript's asynchronous nature.
Wes explores how async + await works, best practices for flow control, and explores several solutions for handling errors.
EVENT:
dotJS 2017
SPEAKER:
Wes Bos
PERMISSIONS:
The original video was published on dotconferences YouTube channel with the Creative Commons Attribution license (reuse allowed).
CREDITS:
dotconferences YouTube channel: https://www.youtube.com/channel/UCSRhwaM00ay0fasnsw6EXKA?spfreload=5
Original video source: https://www.youtube.com/watch?v=9YkUCxvaLEk&t=2s
Thumbnail: Shreyas Amargol