Most functions in the Node.js modules are asynchronous in nature that is to say they are asynchronous by default. Synchronous code also called blocking halts the program until the operation is complete. Asynchronous code also known as non-blocking continues executing the program and doesn't wait for the operation to be complete. It is a better practice to use asynchronous code as a developer.

1m read timeFrom tracy.hashnode.dev
Post cover image
Table of contents
The benefit of asynchronous.
2 Comments

Sort: