lundi 29 août 2022

Observer pattern-observable is not present beforehand while initialising the observer

Is there any alternative or other way of implementing observer pattern to handle the case when observable is not present beforehand while initialising the observer. I want to make an object observer at later stage when observable object is created.

Aucun commentaire:

Enregistrer un commentaire