Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RX Scheduler - What is it?

I'm reading up on RX and totally bamboozled to what the Scheduler is intended for? Can someone explain?

like image 740
Andy Avatar asked Feb 18 '11 20:02

Andy


2 Answers

The IScheduler interface in Rx helps an IObservable "schedule" it's subscription appropriately. This is very important in order to handle thread affinity and similar issues, since the subscription will be causing something to happen at some point.

Here is a good description of the IScheduler interface (along with a comparison to the TPL's TaskScheduler).

like image 65
Reed Copsey Avatar answered Nov 07 '22 10:11

Reed Copsey


This class is for basically what it implies. It is a mechanism for scheduling the internal threads that make up the Rx framework. There is a great video on this here.

The main page for Rx contains more videos that offer insight into the architecture as well as use of the framework.

like image 2
linuxuser27 Avatar answered Nov 07 '22 10:11

linuxuser27