PyDocs

Nav

Concurrent Execution

Future.cancel

concurrent.futures

method of Future (source) not WASI
  • Future.cancel()
Cancel the future if possible.

Returns True if the future was cancelled, False otherwise. A future
cannot be cancelled if it is running or has already completed.
0 Examples
No examples for concurrent.futures/Future.cancel.
See Also
No see-alsos for concurrent.futures/Future.cancel
0 Notes
No notes for Future.cancel