Exploration of async/await blocking
We've been curious how much async/await blocks other actions in Node.js so exploring it
Summarized conclusion:
await
only blocks the local function, just as nesting all code inside a callback blocks- Context/call stack is maintained so nothing to worry about
- Demos include
express
so we can 100% verify it doesn't block requests