Skip to content

Instantly share code, notes, and snippets.

@ThatRendle
Created March 31, 2015 12:57
Show Gist options
  • Select an option

  • Save ThatRendle/53dc4f60492884118fce to your computer and use it in GitHub Desktop.

Select an option

Save ThatRendle/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