Is the Rx framework really "reactive"?

I am browsing Rx-framework materials over the web and I have found a lot.

Now that I am talking to Google, I also found the Reactive Programming link to the wikipedia link.

Since reactive programming is associated with a: = b + c, (a changes with b or c). and Rx is a subscription to the observed sequence published by the source.

Can someone explain what exactly is the link between reactive programming and Rx?

+3
source share
4 answers

What is reactive programming?

"" "" , . "" - . , , , . Fin.

- . ""? , (, ..). "Notepad.exe". , "". , GUI, - , - , .

. ""?

- , . , . Rx IObservable<T>. - , .

, , , "-" "", .

+20

Reactive Extensions - - , #. , Rx, - Rx ( ).

FRP Rx, ...

var a = new BehaviorSubject<int>(10);
var b = new BehaviorSubject<int>(5);

var c = Rx.Observable.CombineLatest(a, b, (a, c) => a + b);
, ( Rx) ...
behavior a = 5;
behavior b = 10;
behavior c = a + b;

Rx . . . , FRP, FRP, , Rx.

, , Rx - , , .

+3

- , " ". , , ( , #), "if" "for".

(FRP). FRP - , , .

Reactive Extensions - , LINQ .

+1

a = b + c. , a , b c.

, , a, b c. , b c, a, .

A series that varies in time in Rx is IObservable<T>.

So, if we start with sequences bsand cs, which are each of the types IObervable<int>, we can generate a series of @asas follows:

var @as = bs.CombineLatest(cs, (b, c) => b + c);

Now I can get the last value from @asas follows:

@as.Subscribe(a =>
{
    /* do something with a */
});

This is an (example) reactive programming using Rx.

+1
source

All Articles