4 ms·
> Over 50k modules all written in async style, ready to use Actually, not true in "all" and "ready to use" parts. I suspect there are enough libraries that, e
by drdaeman 13y ago
> Over 50k modules all written in async style, ready to use
Actually, not true in "all" and "ready to use" parts.
I suspect there are enough libraries that, even while exposing supposedly-async API block under the hood. Or require careful handling.
Even core Node libraries are not throughly async. One obvious example is `crypto`, where only I/O stuff (accessing OS entropy pool) is async. Good luck generating a keypair in event loop.