My Google-fu is failing me -- Is there a Future<T> type in .NET?
I thought I remembered seeing some code for that, but maybe I was reading Java....
By the way, my musing started after reading This Article
My Google-fu is failing me -- Is there a Future<T> type in .NET?
I thought I remembered seeing some code for that, but maybe I was reading Java....
By the way, my musing started after reading This Article
No there isn't. There is such a Java class, which "represents the result of an asynchronous computation".
Do you mean this? http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/Future.html
Future<T>
is a part of the Task Parallel Library and was renamed to Task<TResult>
in beta 1.
Jon Skeet has one in his Push LINQ. He also mentions it in is First encounters with Reactive Extensions.