Duration: 18 minutes
Summary: In this video, we continue our discussion of Reactive Extensions.
We will create a console application to experiment with using Start and Return.
Using Start() we can let Rx manage the asynchronicity of calling a
method. In the example we will be passing an array and we need to sum its
values. Along the way, we print the Thread id to know on which thread the
method is running. We will make the method sleep for 2 seconds, and call the
Done method in Subscribe.
We will apply the same logic using Return
to see the effect.
of the development of example: Good coding standard
and simplified design to illustrate the key points.
Used: Reactive Extensions and Visual Studio 2010
Keyword: Reactive Extensions, Visual Studio 2010, Start, Return,
Asynchronous, Subscribe, Observable, IObservable.