3 ms·
Javascript 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
by jacobwilliamroy 6y ago
Javascript 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.