4 ms·
Synchronous vs. Asynchronous Programming
- jacobwilliamroy 6y agoJavascript is single threaded. Async is not parallelism. As far as I know, the only way to run javascript in parallel is to use child_process.fork() or cluster on node.js, server-side. I do not know of any browsers which implement such.
- e98cuenc 6y agoIn browsers you can use webworkers to get parallel execution.
- jacobwilliamroy 6y agoCool. The author makes no mention of that.