Asynchronous vs Synchronous Code

Published: 15 April 2021
on channel: A shot of code
319
24

Javascript is asynchronous but what does this mean and why is it particularily suited to website development. In this tutorial we look at the difference between code running asynchrounously as compared to synchronoulsy.
When dealing with tasks that may take some time and are being performed outside of our environment say a Network call or a Database call we don't really wont to sit there waiting for it to complete - rather we would like it to tell us once done and in the meantime we can carry on with any other tasks we have pending - this is asynchronous code in a nutshell and is why even though Javascript is single threaded it is very good at dealing with all these tasks seemingly at the same time.


On this page of the site you can watch the video online Asynchronous vs Synchronous Code with a duration of hours minute second in good quality, which was uploaded by the user A shot of code 15 April 2021, share the link with friends and acquaintances, this video has already been watched 319 times on youtube and it was liked by 24 viewers. Enjoy your viewing!