Add a new Subscribe method overload with riseOnSubscription parameter to ReactiveProperty<T> class in src/R3/ReactiveProperty.cs.
Update SubscribeCore method in ReactiveProperty<T> class to conditionally call observer.OnNext(currentValue) based on riseOnSubscription parameter.
Add new Subscribe method overloads with riseOnSubscription parameter to ObservableSubscribeExtensions class in src/R3/ObservableSubscribeExtensions.cs.
Add unit tests for the new Subscribe method overload with riseOnSubscription parameter in ReactiveProperty<T> class in tests/R3.Tests/ReactivePropertyTest.cs.
Fixes #215
Add
Subscribe(Observer<T> observer, bool riseOnSubscription = true)
overload toReactiveProperty<T>
class.Subscribe
method overload withriseOnSubscription
parameter toReactiveProperty<T>
class insrc/R3/ReactiveProperty.cs
.SubscribeCore
method inReactiveProperty<T>
class to conditionally callobserver.OnNext(currentValue)
based onriseOnSubscription
parameter.Subscribe
method overloads withriseOnSubscription
parameter toObservableSubscribeExtensions
class insrc/R3/ObservableSubscribeExtensions.cs
.Subscribe
method overload withriseOnSubscription
parameter inReactiveProperty<T>
class intests/R3.Tests/ReactivePropertyTest.cs
.For more details, open the Copilot Workspace session.