Duration: 16 minutes
Summary: In this video, we are continuing our discussion of Reactive Extensions. The topics for today are: SubscribeOn and ObserveOn. As usual, we will start with a LINQ query. Then turn it into an observable sequence. We will have Subscribe and Observe be on a new thread. Then when we subscribe to the query, we will provide our OnNext, OnError, and OnComplete functionality. Our original query will use a Work method that will slow processing by 1 second. Along the way, we will be printing the current thread id to see the difference.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: Reactive Extensions and Visual Studio 2010
Keyword: Enumerable, Scheduler, Thread, SubscribeOn, ObserveOn, CurrentThread, ManagedThreadId, ToObservable.