News for hackers. Stuff that matters.
Re:I Avoid Async/Await by eurasiantiger on Saturday April 16, 2022 @03:16PM (#31055203)
> 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

There are no comments on this comment yet.