March 2025
Intermediate to advanced
183 pages
2h 22m
English
Stopping a running task gracefully when it is no longer needed
Freeing up a critical resource
Improving the application’s responsiveness
This is why a long-running task may regularly check whether a cancellation request has been raised. If so, it must respond to that request accordingly.
However, having the task cancellation capability does not encourage you to abruptly stop a ...
Read now
Unlock full access