当我将 CancellationTokenSource 设置为 5 秒后取消时。TaskCompletionSource 不会被取消。
[Test]
public async Task Test()
{
var cts = new CancellationTokenSource(TimeSpan.FromSeconds(5));
var completionSource = new TaskCompletionSource(cts.Token);
await completionSource.Task;
}