Cancels the unit of work represented by this reference.
Cancels the unit of work represented by this reference.
Guaranteed idempotence - calling it multiple times should have the same effect as calling it only a single time.
Implementations of this method should also be thread-safe.
true in case this cancelable hasn't been canceled.
Represents a
Cancelable
that only executes the canceling logic when all dependent cancelable objects have been canceled.After all dependent cancelables have been canceled,
onCancel
gets called.