Nito.AsyncEx.TaskFactoryExtensions
Provides extension methods for task factories.
namespace Nito.AsyncEx
{
public static class TaskFactoryExtensions
{
public static Task Run(this TaskFactory this, Action action);
public static Task<TResult> Run<[System.Runtime.CompilerServices.Nullable(2)] TResult>(this TaskFactory this, Func<TResult> action);
public static Task Run(this TaskFactory this, Func<Task> action);
public static Task<TResult> Run<[System.Runtime.CompilerServices.Nullable(2)] TResult>(this TaskFactory this, Func<Task<TResult>> action);
}
}