Hacker News new | ask | show | jobs
by fearface 1618 days ago
JavaScript didn’t not have any async or parallelization keywords at all. Essentially it’s just passing a delegate that is called later. This was stabdardized into Promises and all the async/await is another wrapper around the promises.

It works well, because in the end, it’s just passing a function that should be called when the process finished.