Asynchronous vs Synchronous Code

Pubblicato il: 15 aprile 2021
sul canale di: 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.


In questa pagina del sito puoi guardare il video online Asynchronous vs Synchronous Code della durata di ore minuti seconda in buona qualità , che l'utente ha caricato A shot of code 15 aprile 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 319 volte e gli è piaciuto 24 spettatori. Buona visione!