3 ms·
In node, you generally don't want to do anything CPU bound.
by vlucas 2y ago
In node, you generally don't want to do anything CPU bound.
- lolinder 2y agoYep. If you have CPU-bound work then you should use a different language. If you have IO-bound work then explicitly tagged async functions are actually a really nice concurrency model for the only kind of concurrency you need—it's equivalent to having the Haskell IO monad as a first-class language feature.