Created
October 2, 2014 05:46
-
-
Save bwatts/762afe2f884cb787044b 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 ConfiguredTaskAwaitable OnThreadpool(this Task task) | |
{ | |
return task.ConfigureAwait(false); | |
} | |
public static ConfiguredTaskAwaitable<TResult> OnThreadpool<TResult>(this Task<TResult> task) | |
{ | |
return task.ConfigureAwait(false); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment