Chapter 7. Controlling the observable temperature

This chapter covers

  • Creating publishers with subjects
  • Working with hot and cold observables
  • Moving from hot to cold and vice versa
  • Controlling the hot observable lifetime

The abstraction provided by observables hides from the observers the knowledge of how the underlying source makes the emissions. Depending on the way the observable is implemented, the same emissions (the object instance) might be shared between the various observers, or alternatively, each observer might get different instances. The observable might be implemented so that each observer receives the entire sequence, or instead receives part of the sequence, depending on when it subscribed.

Say an observable emits sound ...

Get Rx.NET in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.