Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add native support for CancellationToken #21

Open
Tewr opened this issue Jul 7, 2020 · 1 comment
Open

Add native support for CancellationToken #21

Tewr opened this issue Jul 7, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@Tewr
Copy link
Owner

Tewr commented Jul 7, 2020

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 Tewr added the enhancement New feature or request label Jul 10, 2020
@Tewr
Copy link
Owner Author

Tewr commented Jul 14, 2021

Mentioned in dotnet/aspnetcore#17730 (comment)_ but as a full process kill, which is not really neccessary unless you would want to unload any dynamically generated dlls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant