Last active
August 10, 2019 14:03
-
-
Save thgbrb/e5b7c8f71850b6076d607325c61f67c0 to your computer and use it in GitHub Desktop.
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
| public static Task DoRequest(string url) | |
| => Task.Run(async () => | |
| { | |
| await httpClient.GetStringAsync(requestUri: url); | |
| Console.WriteLine($"{DateTime.Now} - Task completed."); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment