Can't figure out how to subscribe to the desired method of an Angular service depending on the conditional statement
// this.someService.someMethod depending on the conditional statement
.pipe(takeUntil(this.unsubscribe$))
.subscribe((items) => {
this.someData = items;
});