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
There should be a method on the KineticObject to make a combined observable with a special property - in case of notification suspension it should trigger only one and not for each observed property.
varobj=newKineticExample();using(obj.SuppressChanges()){obj.WhenAny(obj.Number,obj.Text).Subscribe((n,t)=>Assert.Equal(2,n));obj.Number.Set(2);obj.Text.Set("b");}// The assertion should pass
Problems:
As the example demonstrates, a reference to the object should be specified which makes the proposed API error prone. Therefore, it makes sense to support versioning, so any observable internally will have a reference to the source which already contains a version.
The text was updated successfully, but these errors were encountered:
There should be a method on the
KineticObject
to make a combined observable with a special property - in case of notification suspension it should trigger only one and not for each observed property.API:
Usage:
Problems:
The text was updated successfully, but these errors were encountered: