observable
Can Observable.Timer() lead to memory leaks?
Recently I noticed a small bug in my code which uses Reactive Extensions. I was subscribing to Timer but I never disposed my subscription. This resulted in a memory leak.[详细]
2023-03-10 08:23 分类:问答Is an EventListener an Observable?
I am currently following a class about Design Patterns and was wondering whether an EventListener is an Observable?[详细]
2023-03-04 20:55 分类:问答Why does Rx Observable.Subscribe block my thread?
Hello there\' I\'ve tried out one of the 101 Rx examples: static IEnumerable<int> GenerateAlternatingFastAndSlowEvents()[详细]
2023-02-13 22:25 分类:问答Fluent NHibernate + AutoMap + Observable
I\'m new to Fluent NHibernate but was drawn by the Automapping and otherwise great featureset of the platform.I\'m having trouble with getting an ObservableCollection setup, I\'ve scoured the web and[详细]
2023-02-12 12:09 分类:问答Is using weak references in Observers a good idea?
I have implemented an Observable class that stores a list all the observers. Should this list contain weak references to the observers for preventing memory leaks?[详细]
2023-02-11 23:38 分类:问答How to observe value changes in JS variables
Im wondering if someone might be able to help me with something that i think it fairly straight forward:[详细]
2023-02-09 13:11 分类:问答mockito - faking addObserver
I am beginning with mockito and wondering how to fake adding an observer. I want to write a test that ensures that the observer count has increased after a function call.[详细]
2023-02-09 08:27 分类:问答Filtering a Touch.FrameReported IObservable using arbitrary boolean condition that changes over time
I\'ve been playing around with the Reactive Extensions (RX) in Windows Phone 7 and am very close to a working solution but got caught up on one small detail. I am trying to process the raw touch event[详细]
2023-02-07 18:32 分类:问答Instantiating ObservableList?
I am trying to understand the concept of ObservableList and Realms. I have tried to create an instance of an ObservableList like this:[详细]
2023-02-05 23:15 分类:问答Observing properties of an array that is being observed in KnockoutJS
I\'m working on an ASP.Net MVC application. My action is returning a view with a model that is an array of objects (a class with properties like Name, ID, IsViewable).[详细]
2023-02-05 20:15 分类:问答