I have this code inside my component:
ngOnInit() { ... this.counterValue$ = interval(1000).pipe( switchMap(() => this.perfService.getCounter(t
SwitchMap cancel the event if another new one is coming up, have you tried to use tap operator?
tap