Multi
Interface for AssignableCancelable types that can be assigned multiple times.
trait Bool
trait BooleanCancelable
trait AssignableCancelable
trait Cancelable
trait Serializable
class Object
trait Matchable
class Any
Value members
Inherited methods
Updates the internal reference of this assignable cancelable to the given value.
Updates the internal reference of this assignable cancelable to the given value.
If this cancelable is already canceled, then value
is
going to be canceled on assignment as well.
- Returns:
this
- Inherited from:
- AssignableCancelable
Cancels the unit of work represented by this reference.
Cancels the unit of work represented by this reference.
Guaranteed idempotency - calling it multiple times should have the same side-effect as calling it only once. Implementations of this method should also be thread-safe.
- Inherited from:
- Cancelable
- Returns:
true in case this cancelable hasn't been canceled, or false otherwise.
- Inherited from:
- BooleanCancelable