using System;
using System.Threading.Tasks;
namespace Nullframes.Threading.Tasks
{
///
/// Non generic wrapper for a that represents a Task that returns no value.
///
internal sealed class TaskCompletionSource : TaskCompletionSource
{
public void SetCompleted() => SetResult(null);
public bool TrySetCompleted() => TrySetResult(null);
}
}