Rx Workshop

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

    • 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();


    • 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 continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.