ASYNC + AWAIT (or How To Write Syncronous Looking Code, Without The Wait)

Channel:
Subscribers:
725,000
Published on ● Video Link: https://www.youtube.com/watch?v=BDqZLfBFeGk



Duration: 15:30
18,769 views
583


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







Tags:
async
await
es7
es8
javascript
asyncronous
programming
flow control
error handling
promises