python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Observer pattern updating after unsubscribing
I am currently trying to implement the observer design pattern on a List class. The list class is the subject, and a calculate class is the observer. The calculate class needs to observe the list clas...
pythonn00b
Votes: 0
Answers: 1
Broadcasted values from Angular Library Project not getting received
I have an angular 12 library project from which I am trying to broadcast some values using behaviorsubject and shared service.
Here is my broadcast service code:
@Injectable({ providedIn: 'root' })
ex...

Sonali
Votes: 0
Answers: 0
In which cases is the observer pattern superior to the PubSub pattern?
At the moment I'm learning about important OOP design patterns and are currently studying the differences between the Observer and the PubSub pattern and how to implement them in Python.
For that reas...
RatbaldMeyer
Votes: 0
Answers: 0
Javafx from a thread notify events to controller class for setting Label,Textfield based on model
In thread I run some code and I need update javafx ui elements that are in JsonOverviewController.
I don't want to pass ui elements in model or class controller.
I don't want this
jfWatch = ne...
Nicola Paganotti
Votes: 0
Answers: 1