πŸŽ‰ Pro trial β€” 14 days remaining Keep Pro β€” €9.99/mo or €99/year β†’
Async + Await β€” Syntax - Tasty Web Development Treats
Syntax - Tasty Web Development Treats

Async + Await

54 min
0:00--:--
Listen on

Show Notes

Freshbooks β€” Sponsor

If you are a small business or freelancer check outΒ Freshbooks.com Cloud Accountingand get 30 days free. Make sure to enter SYNTAX into the "How did you hear about us" section.

Show Notes

02:55

06:00

  • Callback Hell
  • Q
  • Bluebird
  • What is a promise?
  • Promises are an IOU

8:30

  • Async + Await IS promises
  • What is Async + Await?
  • How does the code look?
  • Returning values from an await

15:20

  • Performance Considerations
  • MEGA PROMISES
  • Promise.all()
  • Here is an example:
  • const [weather, store] = Promise.all(getWeather(), getStores());

19:22

22:48

27:00

  • Snackisodes
  • Snack Packs
  • Hasty Treats?!!!

28:00

30:00

  • Error Handling Methods
  • ViewΒ my slidesΒ for some code examples.
  • Try/Catch
  • High Order Function
  • Just handle the error when you callIt().catch(dealWithIt);
  • Node's process.on('unhandledRejection') event

36:00

  • Browser Support
  • Babel it!

38:00

SIIIIICK PICKS

42:00

47:00

  • Sick Tip
  • Chrome's Autoplay is changing
  • Details on this
  • Visit chrome://media-engagement to see your scores
Shameless Plugs Tweet us your tasty treats!

Syntax - Tasty Web Development Treats
1023 episodes
All episodes