Promises vs async/await

What are you guys using in your code?

I am biased towards promises; to me async/await feels excessively blocking compared to a chain of .thens which both control the flow while allowing synchronous statements their own respective code blocks.

I have not really stuck with async/await though so maybe I’m not giving it a fair chance. Curious what you guys prefer.

Async/await is promises, that how it works and what the feature is built on.

IMO it’s one of the best additions to the language in the last few years; generally easier to use and more obvious than just promises: hides away some of the painful stuff, easy to drop back onto promise stuff.

2 Likes