Nito.AsyncEx.TaskConstants
Provides completed task constants.
namespace Nito.AsyncEx
{
public static class TaskConstants
{
public static Task<bool> BooleanTrue { get; }
public static Task<bool> BooleanFalse { get; }
public static Task<int> Int32Zero { get; }
public static Task<int> Int32NegativeOne { get; }
public static Task Completed { get; }
public static Task Canceled { get; }
}
}