return_error_if_cancelled
Description:
Checks if this's Cancellable has been cancelled, and if so, sets this's error accordingly and completes the task (see return_pointer for more discussion of exactly what this means).
Parameters:
this |
a Task |
Returns:
true if this has been cancelled, false if not |