Using ReactiveUI, is it possible to ignore the initial value for a given ReactiveObject?
For example, I have a ViewModel I initialize, and then I WhenAnyValue
on the ViewModel. I get notified immediately that the value is null
for my chosen property. Yes, I could .Where(x => x != null)
to avoid this, but it's potentially possible that knowing it's null
later is of value.
In other words, I want to start getting notifications after the 1st change in the value.
I'm not readily seeing how I can do this or if it's even possible. I see references to Initial Value
in the source for WantsAnyValue/WantsAny
but it's unclear to me how I set that initial value.
Skip
is a good answer for this problem. – Jillene