Asynchronous VS Synchronous Function
To understand both concepts let’s make it simple for you.
The synchronous function let’s asume that you are in video game , each level requires certain score to move for the next .In this case we are moving level by level , this is how the synchronous function works.
For the asychronous function, let’s asume that each level devided into mini-levels and in order to finish the level you are asked to score all the mini-levels.
So the Asynchronous function is that if you’re doing multiple things at the same time, you don’t have to wait until the end of the current one before moving on to the next one. Unlike the synchronous function where only one operation can be in progress at a time.