Duration: 21 minutes
Summary: In this video, we are continuing our discussion of Reactive
Extensions. There are some functionality that I would like to introduce. We
have Repeat, which repeats a certain item (string in our case) a certain number
of times. Please note that Repeat can repeat items indefinitely. We also have
Concat, which concatenates sequences. We can then subscribe to the resulting
sequence. In the case of Zip, we will see how to “zip” two sequences by getting
a value from each sequence and decide what to do with them by providing a Func.
Finally, we will talk about Catch selecting values from an observable sequence
and intentionally introducing a division by zero exception.
of the development of example: Good coding standard
and simplified design to illustrate the key points.
Used: Reactive Extensions and Visual Studio 2010
Keyword: Zip, Subscribe, ToObservable, Concat, Enumerable, Range,
Scheduler, NewThread, Exception, Observable, Select, Catch, Repeat, Visual