3 ms·
Well nothing needs async, you can use threads anywhere. But it is the predominant model for JS
by quickthrower2 5y ago
Well nothing needs async, you can use threads anywhere. But it is the predominant model for JS
- IshKebab 5y agoIt's the model in JS because JS does not really support threading (web workers are more like separate processes) so it's the only way to do it. The actual browser doesn't need async. When I say "need" I mean that it provides a decent performance increase.