3 ms·
> And async/await is not solving anything because > your definitions of fuctions will still need > callbacks/promises under the hood anyway The point
by always_good 10y ago
> And async/await is not solving anything because
> your definitions of fuctions will still need
> callbacks/promises under the hood anyway
The point is that you can write your complex business logic with async/await which is easier to follow and get right. I mainly use it in my routers and database modules.
It doesn't need to factor out every .then() or callback from your codebase to be incredibly useful or to fulfill its purpose.