BlazorWorker icon indicating copy to clipboard operation
BlazorWorker copied to clipboard

Add native support for CancellationToken

Open Tewr opened this issue 4 years ago • 1 comments

Also an extension method CancellationToken.ThrowIfCancellationRequestedAsync() which would call CancellationToken.ThrowIfCancellationRequested after having called Task.Delay(1), to allow for Context switch to read incoming requests for cancellation

Tewr avatar Jul 07 '20 21:07 Tewr

Mentioned in https://github.com/dotnet/aspnetcore/issues/17730#issuecomment-879407934_ but as a full process kill, which is not really neccessary unless you would want to unload any dynamically generated dlls

Tewr avatar Jul 14 '21 14:07 Tewr