Problem I am implementing observer pattern(refering codeproject) for stock quote update. I have created an interface for Subject and Observer. […]
Tag: observer-pattern
Notify observers when object attributes update
Problem I have a Singleton manager class for managing request model and its attributes. My main aim is update object […]
Listening to modifications on variables
Problem I am seeking advice on the efficiency and long term implications of various ways of capturing modifications to instance […]
Does Java need an Observable object with generics?
Problem This is the follow-up question from here. This is an Observable class similar to java.util.Observable. The difference is that […]
Typescript simple observable state and web component
Problem I’ve been experimenting with wiring up a vanilla web component in a reactive manner to a state box. The […]
Observable template in modern C++
Problem I’m trying to create a modern template class for a generic observable: typedef int SUBSCRIPTION_ID; template<typename EventType, typename Event> […]
Scheduler built with observables
Problem I sometimes have to schedule some tasks and wanted to have my own reusable scheduler. Since I like the […]
Observer pattern implementation in C#
Problem In order to implement the Observer pattern in C#, one of the ways to go (at least, the one […]
Requests and handling requests
Problem For this task, I don’t think that the Observer Pattern can be used in its classic form. Those who […]
Merging union Observables
Problem I am having a scenario where I need to execute observables that depends on the result of the first […]