3 ms·
why would you do that in a single threaded language like nodejs? seems like an awful decision
by 1oooqooq 3y ago
why would you do that in a single threaded language like nodejs?
seems like an awful decision
- throwaway11460 3y agoWhy not? Single threaded doesn't mean only a single thread is ever used. Also, if I understand it correctly, this is a web frontend. Node.js is used for development (bundling, testing etc).
- 1oooqooq 3y agobecause of your processing events in single thread (or cooperative pseudo multi thread) you can miss data
- throwaway11460 3y agoThere is no need to miss data. Node.ja has enough ways to avoid that.