You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#3682
<!-- Please be sure to read the
[Contribute](https://github.com/reactiveui/reactiveui#contribute)
section of the README -->
**What kind of change does this PR introduce?**
<!-- Bug fix, feature, docs update, ... -->
**What is the current behavior?**
<!-- You can also link to an open issue here. -->
**What is the new behavior?**
<!-- If this is a feature change -->
For deferred subscriptions in OAPH 2 changes where made:
- On first `Value` access INPC is no longer emitted while the `Value` is
still the initial value.
- After accessing `Value` for the first time, INPC is no longer emitted
if the value produced from source is the same as the initial value
**What might this PR break?**
I don't think anything will break. It doesn't make sense for any UI
framework to subscribe to INPC without reading the initial value anyway.
**Please check if the PR fulfills these requirements**
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] Docs have been added / updated (for bug fixes / features)
**Other information**:
---------
Co-authored-by: amr <[email protected]>
Co-authored-by: Chris Pulman <[email protected]>
/// <summary>Test that Observable As Property Helpers defers subscription with initial function value doesn't call on changed when subscribed.</summary>
294
+
/// <param name = "initialValue" >The initial value.</param>
/// <summary>Test that Observable As Property Helpers defers subscription with initial function value doesn't call on changed when source provides initial value after subscription.</summary>
322
+
/// <param name = "initialValue" >The initial value.</param>
0 commit comments