temporalio/sdk-dotnet

[Feature Request] Clarify in README that CancellationTokenSource.CancelAsync is unsafe

Closed this issue · 0 comments

cretz commented

Describe the solution you'd like

CancellationTokenSource.CancelAsync was added in .NET 8 and it uses the default scheduler. Users should use Cancel instead.