If we think about it, nothing is instantaneous. Real time is not a thing. Did I lose my mind for a second there? Now, you can push a button and feel like it's instantaneous, but, the programmer in you knows that it's not. Information has been transferred, code executed, databases fetched, and so on. During this time, as short or as long as it might be, you have waited. More precisely, your code has made your users wait. Wouldn't you rather have a code base built around this very notion of asynchronism and which can execute other things while it waits, or, at least, warn your users that we are waiting for something to happen? This is the idea on which this chapter is based. This chapter helps you to understand the concept of asynchronous programming and implementing the same using Observable in Angular.
In this chapter,...