registerAfterChangeUpdateListener
fun registerAfterChangeUpdateListener(onValueUpdateListener: (T, T) -> Unit): DisposableHandle(source)
Registers a listener that is notified after the value of this property has changed.
The listener will be invoked with the old and new values.
Return
A DisposableHandle that can be used to unregister the listener by calling its DisposableHandle.dispose method.
Parameters
onValueUpdateListener
The callback to be invoked after the value changes. It receives the old value (T) and the new value (T) as parameters.