Cancellable.setErrorIfCancelled

If the cancellable is cancelled, sets the error to notify that the operation was cancelled.

class Cancellable
int
setErrorIfCancelled
()

Return Value

Type: int

TRUE if cancellable was cancelled, FALSE if it was not

Meta