Rx Workshop: Writing Queries

Download this episode

Download Video

Description

Learn about the rich set of LINQ query operators available in Rx to query event streams.

Download the Challenge

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      N2Cheval

      I'm not sure I got this right as it seemed a little to easy...

      var lookup = textChanged
                                  .Select(_ => txt.Text)
                                  .DistinctUntilChanged()
                                  .Throttle(TimeSpan.FromMilliseconds(200))
                                  .Do(text => Console.WriteLine("TextChanged: {0}", text))
                                  .Where(text => text.Length >= 3)
                                  .Do(text => Console.WriteLine("Lookup: {0}", text));
      
      var results = lookup
                                .Select(text => getSuggestions(text))
                                .Switch();


    • User profile image
      thanhym

      Got 404 page response when I click Download the Challenge link. 

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.