Neat hack demonstrating how to use iterators to simulate C#'s async/await keyword. See the console project for a simple example. Check out the Dispatcher sample in the Wpf project to see how AsyncTask can also be used to control thread affinity.