Post

🫠

Matteo Collina@nodeland.dev

Here is a fun one for you all: contrary to popular belief, in Node.js promises (async/await) would not yield to the event loop. So, if you want the event loop to process I/O in between a long chain of async functions that actually aren’t doing I/O, you would need to add a setImmediate in between.

0 reposts0 likes

No replies yet.