2 ms·
JS is single threaded. Async / await is just a code transformation that introduces Promise wrappers. The code should be equivalent to the original. (I've just
by still_grokking 4y ago
JS is single threaded.
Async / await is just a code transformation that introduces Promise wrappers.
The code should be equivalent to the original. (I've just overlooked the top-level `async`…).