December 2017
Beginner
372 pages
10h 32m
English
The observables represent the stream of data coming from the backend server asynchronously. The data stream could be of any kind, such as notifications or a set of events to be processed. Angular uses a third-party library called Reactive Extensions (Rx) to implement observables. We can think of observables as an asynchronous array whose elements are populated from the backend. So, we can get the first element in response, and then after a while the second element may come in, as represented in the following diagram:

This type of behavior allows us to handle a web response that is sent in chunks, rather than the whole response ...
Read now
Unlock full access