9 min read

Python ThreadPoolExecutor - Cancelling Tasks

Not every task needs to finish. We discuss the limitations and mechanics of cancelling a Future, understanding when a task is too far gone to stop and how to handle CancelledError.
Python ThreadPoolExecutor - Cancelling Tasks
Reader: Python GIL & Threading

Reader Mode

-- / --

Introduction