Using .NET 4.0 Tasks with the AsyncEnumerator

I've been doing a lot of work with the new Task class that ships with .NET 4.0 as I've been revising my CLR via C# book (due out in early 2010).


Task are really good for performing asynchronous compute-bound work and while my AsyncEnumerator was really designed for performing I/O-bound work using the CLR's APM, it is possible to use Tasks with the AsyncEnumerator giving you the ability to easily perform I/O-bound as well as compute-bound work and use the AsyncEnumerator to coordinate it all...

 •  0 comments  •  flag
Share on Twitter
Published on October 12, 2009 06:13
No comments have been added yet.


Jeffrey Richter's Blog

Jeffrey Richter
Jeffrey Richter isn't a Goodreads Author (yet), but they do have a blog, so here are some recent posts imported from their feed.
Follow Jeffrey Richter's blog with rss.