3 ms·
I don't know if you intended to, but it comes across as arrogant and dismissive. Dealing with asynchrony has been the an issue in JavaScript from the beginning
by rictic 7y ago
I don't know if you intended to, but it comes across as arrogant and dismissive.
Dealing with asynchrony has been the an issue in JavaScript from the beginning, as the fundamental model is event driven.
There are a number of mechanisms for coordinating work, including mutexes (see Atomics.wait()), but for >99% of code, Promises are a better option.