4 ms·
You use this for things you would run anyway, so the total computation time will be the same, but now you will control the execution order and can for example l
by Kiro 4y ago
You use this for things you would run anyway, so the total computation time will be the same, but now you will control the execution order and can for example let the main thread handle things that impact the user experience before lesser tasks.