O'Reilly logo

Programming Reactive Extensions and LINQ by Paul Betts, Jesse Liberty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R 3

Core Rx

As noted in previous chapters, Reactive Extensions (Rx) is an extension of LINQ. The key, distinguishing feature of Rx is that rather than being based on IEnumerable, Rx is based on IObservable—that is, the interface for iterating over an observable collection. This, in turn is based on the Observer design pattern as described in Design Patterns.1

The essence of the Observer pattern is that the observable object (sometimes called the subject) has actions or properties of interest to one or more observers. When the observable changes in a way that might be of interest to the observers, it notifies them (typically by raising an event).

The nomenclature can be confusing because the Observer pattern is a subset of the Publish ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required