3 ms·
But async stuff is a must in JS due to it being single-threaded (yeah I do know about webworkers). Just spawning a thread with a scope which will fork them at
by kaba0 4y ago
But async stuff is a must in JS due to it being single-threaded (yeah I do know about webworkers).
Just spawning a thread with a scope which will fork them at the end is just better from every conceivable way. Easier to grasp, easier to maintain, easier to debug - all of which are quite important when concurrency is at the table.