Created
October 27, 2017 14:12
-
-
Save M-Yankov/7205bf42cbedcb05cfd6eeef0289cff4 to your computer and use it in GitHub Desktop.
Returns a result from Task
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
string text = System.Threading.Tasks.Task.Run(() => "TEXT".ToLower()).GetAwaiter().GetResult(); | |
// To retreive the result it bloks the other code. | |
// https://www.youtube.com/watch?v=fX62PJ_wv20 |
Author
M-Yankov
commented
May 3, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment