Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Reactive Programming for .NET Developers

You're reading from   Reactive Programming for .NET Developers Get up and running with reactive programming paradigms to build fast, concurrent, and powerful applications

Arrow left icon
Product type Paperback
Published in Jul 2016
Publisher Packt
ISBN-13 9781785882883
Length 276 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (10) Chapters Close

Preface 1. First Steps Toward Reactive Programming FREE CHAPTER 2. Reactive Programming with C# 3. Reactive Extension Programming 4. Observable Sequence Programming 5. Debugging Reactive Extensions 6. CLR Integration and Scheduling 7. Advanced Techniques 8. F# and Functional Reactive Programming 9. Advanced FRP and Best Practices

Creating Interactive Extensions (Ix) operators


Ix is the LINQ-based operator library that contains operators similar to the ones available within Rx. The design goal of developing a library like Ix is reusing designs and solutions from reactive programming to state-driven programming.

Tip

The following examples require referencing the NuGet package Ix-Main.

This library is powerful to help developers get access operators reactive, like into classic state-drive Programming with LINQ (PLINQ), without having to convert in sequences and back all enumerables. The usage is almost identical to the one with real Rx operators; the difference is that within Ix, there is the support of only a short list of operators. Let's see some operators in action:

var buffer = Enumerable.Range(0, 1000) 
    //split enumerable into multiple buffers 
    .Buffer(100); 
 
//enumerate from the first enumerable 
//in case of exception continue enumerating 
//from the second enumerable 
...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image