concept observable in category angular

This is an excerpt from Manning's book Angular Development with Typescript, Second Edition.
If you’re not familiar with RxJS library concepts such as observables, observers, operators, and subscriptions, read appendix D before proceeding with this chapter.
Subscriber got Stella: 9.5 Subscriber got Coca Cola: 1.5 Subscriber got Sam Adams: 8.5 Subscriber got Fanta: 1.5 Subscriber got Bud Light: 6.5 Subscriber got Lemonade: 2.5 The stream of observables is over

This is an excerpt from Manning's book Testing Angular Applications.
In this chapter, you’ll create and test the services you need for setting preferences in the Contacts app, and for loading and saving contacts from a server.
PreferencesServicewill save application settings to the user’s browser using either cookies orlocalStorage. The example we’ll look at will show you how to test with both synchronous services and asynchronous services (services that return promises or observables). You’ll learn how to isolate your code under test from its related dependencies by using Jasmine spies.ContactServiceuses Angular’sHttpClientto fetch and store data from a REST service using observables, which are like promises but return continuous streams of values. You’ll learn how to configure service tests, set up mocks and dependencies, and exercise service interfaces through test-driven development.