Mostafa Gaafar wrote that await
is, “the single greatest addition to JS since 2017“, and I have to agree.
Working with endless nested chains of Promises is extremely clunky and unintuitive, but await
makes it simple and intuitive again. If you’re not already using it, I’d recommend checking out Mostafa’s article for an introduction.