skip to Main Content

Javascript – RXJS dependent observables

I have 3 observables: query$ = this.q$.pipe(tap(() => this.page$.next(0)); filter$ = this.f$.pipe(tap(() => this.page$.next(0)); page$ = new BehaviorSubject<number>(0); combinetLatest({ query: this.query$, filter: this.filter$, page: this.page$ }) .pipe( switchMap(({ query, filter, page }) => { ... }) ); I have to…

VIEW QUESTION
Back To Top
Search