Here's a tool I've recently added to my personal library: Future Delegate
A Future Delegate is essentially an encapsulation of an asynchronous delegate inside a generic class which handles all the details of calling and waiting for the delegate to return. It works like this:
1. Write a method to do some work asynchronously.
2. Create a Future and pass in a delegate to your method.
3. Do other stuff...
4. Call Future.Value whenever you need to result of the operation.
Recent comments
5 weeks 4 days ago
5 weeks 4 days ago
9 weeks 6 hours ago
14 weeks 5 days ago
23 weeks 4 days ago