Skip to content

Instantly share code, notes, and snippets.

@markrendle
Created March 31, 2015 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markrendle/53dc4f60492884118fce to your computer and use it in GitHub Desktop.
Save markrendle/53dc4f60492884118fce to your computer and use it in GitHub Desktop.
async/await convenience method
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