Return true
in case this cancelable hasn't been canceled,
or false
otherwise.
const ref = BoolCancelable.of()
ref.isCanceled() // false
ref.cancel()
ref.isCanceled() // true
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.
Generated using TypeDoc
Represents a type of ICancelable that can hold an internal reference to another cancelable (and thus has to support the
update
operation).On assignment, if this cancelable is already canceled, then no assignment should happen and the update reference should be canceled as well.