Open in app
Oliver K. Ernst
39 Followers
About

Sign in

39 Followers
About
Open in app

Async/await is an excellent option if you find yourself writing long, complicated waterfalls of .then statements. Async/await will allow you to clean it up into one readable, asynchronous callback function.

Async/Await vs Promises — A Guide and Cheat Sheet
682
3

Kait Hoehne

Oliver K. Ernst

Oliver K. Ernst

Aug 10, 2020·1 min read

Excellent summary

Written by

Oliver K. Ernst

Coding & AI — oliver-ernst.com

More from Oliver K. Ernst

Coding & AI — oliver-ernst.com

More From Medium

5 things I wish I knew sooner about Swift

Oliver K. Ernst in Practical coding

Lost in Xcode land

Oliver K. Ernst in Practical coding

Speed up Python code with CARMA

Oliver K. Ernst in Practical coding

Setting up a C++/Python project with pybind11 and CMake

Oliver K. Ernst in Practical coding

Three advanced pybind11 features for wrapping C++ code into Python

Oliver K. Ernst in Practical coding

Set up GitLab CI/CD for testing your Firebase functions

Oliver K. Ernst in Practical coding

5 things the design of your keyboard got wrong

Oliver K. Ernst in Practical coding

What’s my vote worth?

Oliver K. Ernst in Practical coding

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store