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 4

Practical Rx

The lifeblood of Rx is managing asynchronous tasks without the indirection and potential confusion of non-Rx C# programs. Without Rx, it is common to have asynchronous callbacks that make asynchronous calls to other asynchronous callbacks, creating spaghetti code; the very reason we don't use GoTo very much anymore. With Rx your asynchronous code can be packed into a single method, making for more readable and maintainable code.

In Chapter 3, you saw some of the core operators of Rx; here in Chapter 4, you'll learn how to apply these core concepts of creating working applications. We'll take a look at some of the more advanced operators and then we'll dig deep into a more extensive example.

We begin with a discussion ...

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