3 ms·
Since an async function is simply a function that returns a promise is there actually any difference between using async/await and using promises explicitly?
by tudorconstantin 7y ago
Since an async function is simply a function that returns a promise is there actually any difference between using async/await and using promises explicitly?
- BigJono 7y agoNone, as far as I know
- dboreham 7y agoIt takes longer to boil your brain.
- eurasiantiger 7y agoTerseness and readability towards less asynchronously minded folk
- jinglebells 7y agoIf you're compiling to ES2016 or lower, it will turn the promises into state machines.