I have performance problems in my angular2 application because I have a large Observable.combineLatest () with many inputs that change quickly and I want to cancel the callback:
myData$ = Observable.combineLatest( this.store.let(fromRoot.getFoo), this.store.let(fromRoot.getBar), this.store.let(fromRoot.getFoobar), this.store.let(fromRoot.getBarfoo), (foo, bar, foobar, barfoo) => { ... });
The calling debounce after the fact, for example. Observable.combineLatest (...). DebounceTime (300) is useless because the CPU intensive task happens inside the combLatest callback, which still often calls the call.
I think I need to combine another Observable, but I'm not sure how to do this, any ideas?
source share