Created
January 9, 2019 15:45
-
-
Save LoriBru/0b02c3ca02f07b1a6ab1aaa40544e3a5 to your computer and use it in GitHub Desktop.
Run a method within a 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
| var task = Task.Run(() => LongMethodAsync()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment