DEV Community


Discussion on: ⭐️🎀 JavaScript Visualized: Promises & Async/Await

cname87 profile image

Yes. It's a great article but it should consider the case of awaiting an API call or similar that takes a significant time to return. The simple example using Promise.resolve is not a typical use case. A visualisation of how such api calls would be really useful (although probably time consuming to produce).

Forem Open with the Forem app