Reactive Extensions - .NET Asynchronously
Reactive Extensions - .NET Asynchronously
Written by Alex Armstrong   
Wednesday, 04 May 2011

Rx 1.0, the first full version of the Reactive Extensions.NET library, is now available for download from Microsoft.


Reactive Extensions (Rx) is Microsoft's .NET library aimed at making it easy to create asynchronous and event based programs using observable collections and LINQ-style queries. It is a superset of LINQ's standard query operators that turn asynchronous or event-driven code into push based observable collections. 

The idea is that you are familiar with the IEnumerable<T> interface - a pull-based enumerator where you have to call the enumerator to get the next item. Using an IObservable<T> collection you subscribe to the collection and it notifies clients when a new item is available. This is simple enough but add to the mix Rx LINQ and you can build asynchronous queries and processing chains. Essentially what is going on is that the stream of asynchronous data is being treated as if it was a standard collection or database.

Rx works on the desktop in .NET 4.0, XBox and in Silverlight and Windows Phone 7. You can imagine that Rx would be particularly useful in an environment where realtime events such as location sensors have to be handled.

VS

More Information

Download Rx 1.0

Reactive Extensions (Rx) website

 

Banner


OpenAI Gym Gives Reinforcement Learning A Work Out
29/04/2016

When OpenAI, an open source AI initiative backed by Elon Musk, Sam Altman and Ilya Sutskever, was announced earlier in the year, I doubt anyone expected anything to be produced so quickly and certainl [ ... ]



Nature Of Code MOOC From Processing Foundation
09/05/2016

A course in creative computing that uses p5.js to capture natural phenomena in the physical world started on May 3rd. Taught by Dan Shiffman, Processing Foundation's co-founder, with guest lectur [ ... ]


More News

Last Updated ( Wednesday, 04 May 2011 )
 
 

   
Banner
RSS feed of news items only
I Programmer News
Copyright © 2016 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.