Currently I have a getter xyz that is computed. To schedule a new computation I call notifyProperty(this, #xyz);
.
In the the latest version of observe, notifyProperty
is deprecated. How can I replace it? The documentation suggests to use this.notifyPropertyChange(#xyz, oldValue, newValue);
. The problem is, that I don't have the oldValue
(and not directly the newValue
) as the getter is computed.