4 ms·
There is no difference, async/await is just another promise notation.
by pier25 9y ago
There is no difference, async/await is just another promise notation.
- davidgf 9y agoAlthough async/await is simply syntax sugar around promises, there's a huge difference indeed. With async/await your code keeps an imperative style, while with promises code end up with a functional look