upgrade

public static Property<T> upgrade<T>(GetSetter<T> getSetter)(source)

Upgrades a GetSetter so that access through the returned Property will notify observers, with state still managed in the old GetSetter. N.B.: Changes to the provided GetSetter directly will only cause you to get notified if you already had a Property. If you want to not receive those updates, use wrap

Parameters

getSetter

the old get setter which will hold state