<PackageReference Include="Nito.AsyncEx.Tasks" Version="5.0.0-pre-04" />

Nito.AsyncEx.TaskConstants

public static class 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; } } }