Asynch a synchronous method with await async
Posted
by Sahil Malik
on Win Smarts
See other posts from Win Smarts
or by Sahil Malik
Published on Sat, 17 May 2014 09:27:17 GMT
Indexed on
2014/05/27
3:38 UTC
Read the original article
Hit count: 260
Vanilla .NET
SharePoint, WCF and Azure Trainings: more information |
Stock this in “bag of tricks”, but very frequently we run into APIs that do not offer Asynch methods.But between C# ‘s amazing set of features, and asynch await keywords, there is a lot you can do. For instance, consider this code -
© Win Smarts or respective owner