The returned Observer will proxy updates from the input observer, but will skip updates that contain the same (according to operator==) value even if the actual object in the update is different.
Declared in <folly/observer/Observer.h>
template<typename T>
Observer<T>
makeValueObserver(Observer<T> observer);
An Observer that only updates when the value changes.
| Name | Description |
|---|---|
| observer | The Observer whose updates are proxied. |