Created
March 31, 2015 12:57
-
-
Save markrendle/53dc4f60492884118fce to your computer and use it in GitHub Desktop.
async/await convenience method
This file contains 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
namespace System.Threading.Tasks | |
{ | |
public static class TaskFfs | |
{ | |
public static ConfiguredTaskAwaitable FFS(this Task task) | |
{ | |
return task.ConfigureAwait(false); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment