4 ms·
My point is that with async both the runtime and the dev tools try to make async call stacks look exactly like sync ones. This keeps the context of how your co
by justsomeuser 6y ago
My point is that with async both the runtime and the dev tools try to make async call stacks look exactly like sync ones.
This keeps the context of how your code gets into certain states. If you have 10 threads, it’s like you have 10 different processes (without the context of how they are related - which you get with composing functions) which is harder to understand.
Also assuming that each thread does not have an event loop.