Understanding the difference between asynchronous and synchronous code, as well as its implications, is an important topic and I have covered it a couple of times previously. Recently, I wrote an article that discussed a common asynchronous situation in Ionic that can lead to confusion.
Click here to watch the video on YouTube
I thought it would be worthwhile to elaborate on that a little bit more and create a video where I detail some examples of asynchronous code and the traps you might run into.