3 ms·
> trying to make async processes look like they are synchronous That is NOT what async/await is about — after all, async explicitly marks functions as asynchro
by eurasiantiger 5y ago
> trying to make async processes look like they are synchronous
That is NOT what async/await is about — after all, async explicitly marks functions as asynchronous. Not exactly trying to hide that.
Async/await is syntactic sugar. It is there to make working with Promises less verbose.
That is almost all: await pauses current function execution in the main event loop, which is an important detail