I am working with a BehaviorSubject where I have to make changes through mutation (for reasons beyond my control). I need to trigger the BehaviorSubject for subscriptions whenever there are changes.
Is there another approach I can take instead of using:
triggerNext() {
this.uploadFiles$.next(this.uploadFiles$.getValue());
}
Although it works, I find it lacking in elegance.