348 Views
An article showing how to create a helper method that has a similar structure to a using-block (for IDisposables), and that works with asynchronous operations. Also doubles as a walk-through for the thought process of creating the code and unit tests for it.
1 comments
dpeterson
12/14/2011 1:29:41 PM
I ran into the same situation last week. I really, really wanted to use a using block but needed the code to be asynchronous as well. I'm going to stash this away in my toolbox for later!