4 ms·
That's not entirely true. There's a thread pool of workers underneath libuv. Tasks that would block do indeed execute concurrently.
by charlotte-fyi 2y ago
That's not entirely true. There's a thread pool of workers underneath libuv. Tasks that would block do indeed execute concurrently.
- afavour 2y agoOh, I know. But the code used in this test doesn’t utilize that thread pool at all. It just uses setTimeout.