[ Version ( since = "2.36" ) ]
public bool return_error_if_cancelled ()
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).
this |
a Task |
true if this has been cancelled, false if not |