CancellableFutureResult.cancel

CancellableFutureResult.cancel()[source]

Attempt to cancel the operation.

If the operation is currently being executed and cannot be cancelled then the method will return False, otherwise the call will be cancelled and the method will return True.