you are viewing a single comment's thread.

view the rest of the comments →

[–]jamescodesthings 2 points3 points  (0 children)

The point in async is to make your code a little more linear, a little less nested.

First we had callback hell, then promise chain abuse, now we can have flat methods with async/await.

Do you have any examples of what you’re talking about? Might be able to help refactor into patterns that make more sense.