yr.object_ref.ObjectRef.cancel

yr.object_ref.ObjectRef.cancel#

ObjectRef.cancel()[source]#

Cancel the obj future

Returns:

Returns True if the future was cancelled, False otherwise. A future cannot be cancelled if it is running or has already completed. Data type is bool.