autoCanceling
fun <V, T : Cancelable> autoCanceling(default: T? = null, onChanged: (old: T?, new: T?) -> Unit = { _,_ -> }): ReadWriteProperty<V, T?>
Creates a ReadWriteProperty that will cancel the previous value when changed.
Parameters
default
value for the property to begin with
onChanged
that notifies when the underlying property changes