<PackageReference Include="Nito.AsyncEx.Tasks" Version="5.0.0-pre-06" />
Nito.AsyncEx.TaskHelper
Helper methods for working with tasks.
namespace Nito.
AsyncEx
{
public static class TaskHelper
{
public static async Task ExecuteAsTask(
Action func);
public static async Task<
T>
ExecuteAsTask<
T>(
Func<
T>
func);
}
}