Asynchronous vs Synchronous Code

Publicado el: 15 abril 2021
en el canal de: 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.


En esta página del sitio puede ver el video en línea Asynchronous vs Synchronous Code de Duración hora minuto segunda en buena calidad , que subió el usuario A shot of code 15 abril 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 319 veces y le gustó 24 a los espectadores. Disfruta viendo!