Asynchronous vs Synchronous function
Synchronous tasks complete in order one after the other and it will wait until the previous tasks gets completed and then moves to the next task.
Asynchronous code does not wait for the previous one to complete it will run independently without wait...
asynchronus-vs-synchronous-function.hashnode.dev1 min read