ID EN
Concurrent Futures

set_running_or_notify_cancel

Python 3.11

This method should only be called by Executor implementations before executing the work associated with the Future and by unit tests.

Syntax

PYTHON
set_running_or_notify_cancel()

See Also

Executor Future Future Future.cancel() Future as_completed() wait() Future