I have a dilemma in Angular where I need to work with two objects of the same type.
public addressFinalData: AddressMailingData;
mailingArchive: AddressMailingData[] = [];
Is there a way to subscribe to data objects of the same type within one component?
I would like for mailingArchive[2] to continuously update its value to match that of addressFinalData. In other words, whenever addressFinalData changes, I want MailingArchive to store that updated value in index 2 of the array.