System.Reactive refers to the Reactive Extensions for .NET, also known as Rx, but it more specifically refers to the use of the System.Reactive.dll assembly, which is part of Rx. System.Reactive provides developers with a reactive programming model, as opposed to the traditional imperative ...

learn more… | top users | synonyms

3
votes
0answers
31 views

Thread-safe implementation of an elastic resource pool [closed]

A quick search on Nuget suggested that there might not already be a solution doing exactly what I wanted here, so I thought I might take a crack at it myself. I probably didn't know the right ...
2
votes
0answers
58 views

Is this an ugly/incorrect usage of subscriptions?

Little backstory: I'm trying to write code that will read messages from INetworkConnection that the INetworkConnection publishes ...
2
votes
0answers
62 views

Polling, parsing, validating and handling data cleanly and efficiently

<edit: There's a major problem in the code. It is basically the one in the comment regarding backpressure. I'll rework the code within a a few days... It's time for a quick code review, good ...
10
votes
2answers
142 views

ReactiveUI and Rx background calculations with cancellation

I'm working on a WPF app which uses ReactiveUI and Rx, there's part of the workflow that watches two data sources (ReferenceData and ...
4
votes
0answers
153 views

F# and Rx code that throttles; can it be done without ref cells (and possibly with active patterns)?

I'm basically redoing a piece of reactive C# code posted in SO code in F#, please, see below. The translation is fairly literal, I've just written the infinite loop as a recursive function and ...
3
votes
0answers
30 views

Create an IObservable from a method

I have such a method that performs a long query search against some data Task<List<SearchResult>> Search(string query){ ... } I have tried various ...
1
vote
0answers
314 views

Improve my reactive code (ping/pong sample)

I'm starting with the reactive framework, how can I improve my logic? The way it is doing the code below, I can not add parameters in the composition, e.g.: Where, Syncronize, OnError.. How can I ...
3
votes
1answer
116 views

pull things from lazy source till timeout is reached

I need to pull things from lazy source till timeout is reached in this fashion: ...
1
vote
1answer
967 views

Hot Observable of Change Tracking Events from SQL Server 2008 R2

After I found the Change Tracking feature in SQL Server, I thought that I would love to have this information in a stream. That lead me to RX, and Hot Observables. Did some reading, and came up with ...
5
votes
1answer
301 views

Can this reactive code be improved?

I have a view model that I'm migrating to RxUI. It exposes a collection of brokers along with a bool indicating whether there is a market (ie. at least one broker). ...
10
votes
1answer
515 views

Improve Parallel Cache with Reactive Extensions & Unity Interception

The requirement is to be able to cache method invocations made on a boundary layer (Services layer). I'm using Unity to inject the concrete implementation of the Service layer classes. The ...
3
votes
1answer
2k views

Implementation of a throttled ConcurrentQueue Rx observer

I was looking for a solution to allow me to rate limit the number of outgoing REST calls but preserved the order of queued elements so I found a rate limiter implementation and combined it with ...
5
votes
3answers
588 views

Is there an easier way to use Rx's GroupBy operator?

I'm just playing with the concept of GroupBy inside Rx. So, I wondered how hard it would be to write a console application that continuously reads lines, groups ...