ObservableValue<T> is a somewhat thin extension of ValueProducer<T>. The former is used for injecting values into the SensESP data processing flow, but the naming is somewhat unfortunate because ObservableValue is not just an Observable but also a Producer.
I wonder what would happen if the ObservableValue functionality would be implemented directly in ValueProducer? Would the operator overloading cause any issues in regular inheritance use cases?
ObservableValue<T>
is a somewhat thin extension ofValueProducer<T>
. The former is used for injecting values into the SensESP data processing flow, but the naming is somewhat unfortunate becauseObservableValue
is not just anObservable
but also aProducer
.I wonder what would happen if the ObservableValue functionality would be implemented directly in ValueProducer? Would the operator overloading cause any issues in regular inheritance use cases?