Created
January 17, 2017 07:10
-
-
Save syaifulnizamyahya/71f64c6936bbe09a4d1c85397d7fe149 to your computer and use it in GitHub Desktop.
Wait async function.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var task = Task.Run(async () => | |
| { | |
| LccParamModel = await GetLeastCongestedChannelParams(); | |
| }); | |
| task.Wait(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment