Blocking & Non Blocking in NodeJs
In Node.js, JavaScript code runs in a single thread. When a piece of code is executed, it blocks the execution of any other code until it finishes.
The above means that if a long-running task, such as a database query or a file read, is executed, th...
dhanushnehru.hashnode.dev2 min read