There are 1 entries for the tag async
WinRT Pills: Make your own Async methods

In WinRT any method that takes more than 50 ms is exposed as an asyncronous operation and thanks to C# await keyword (or Javascript’s Promises) what could be a programmer’s headache becomes a straightforward task, but what if you have your own asyncronous code? Let’s say you have a basic downloader class that simulates downloading a string from the internet, in practice something like: public class MyDownloader{ public event EventHandler Completed; public string Result { get; set;...

posted @ Tuesday, October 25, 2011 9:16 AM | Feedback (0)