Blocking vs Non-Blocking Code in Node.js
Blocking code stops the execution of other code until the current task finishes.
This means:
the program waits
nothing else executes meanwhile
In blocking operations:
the main thread remains busy
tech-log.hashnode.dev3 min read