How it works...

The LINQ aspect of Rx allows developers to construct observables. Here are some examples:

  • Observable.Empty<>: This returns an empty observable sequence
  • Observable.Return<>: This returns an observable sequence containing a single element
  • Observable.Throw<>: This returns an observable sequence terminating with an exception
  • Observable.Never<>: This returns a non-terminating observable sequence that is infinite in duration

The use of LINQ in Rx allows the developer to manipulate and filter the datastream to return exactly what they need.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.212.102