Using schedulers in Rx

Sometimes, we need to have an IObservable subscription run at a specific time. Imagine having to synchronize events across servers in geographically different areas and time zones. You might also need to read data from a queue while preserving the order in which the events occur. Another example would be to perform some kind of I/O task that could take some time to complete. Schedulers come in very handy in these situations.

Getting ready

Additionally, you can consider reading up more on using schedulers on MSDN. Have a look at https://msdn.microsoft.com/en-us/library/hh242963(v=vs.103).aspx.

How to do it…

  1. If you haven't already done so, create a new Windows Form application and call it winformRx. Open the form designer and ...

Get C# Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.