Top "Rxjs" questions

The Reactive Extensions for JavaScript (RxJS) is a set of libraries for composing asynchronous and event-based programs using observable collections and Array Extras style composition.

Angular 4: Module not found error regarding RxJs

when building the Angular app I get many of these errors, below is just the first one ERROR in ./~/@reactivex/…

angular rxjs reactivex
Difference between .unsubscribe to .take(1)

I wonder, if there is any difference in performance between using .take(1) and .unsubscribe when unsubscribe is used right after …

rxjs observable rxjs5
ObjectUnsubscribedError when trying to prevent subscribing twice

I have a Service and a component that uses it: PagesService PagesListComponent In the PagesService I have an array of …

typescript angular rxjs rxjs5
How to force observables to execute in sequence?

I am moving from the Promise world to the Observable world. One thing I usually do with Promise is to …

rxjs rxjs5
Angular2. How can I check if an observable is completed?

In my page there is a button that generates a report. That report needs data that is loaded using a …

angular rxjs angular2-observables
I dont get rxjs 6 with angular 6 with interval, switchMap, and map

I want to update my rxjs code to 6 got I don't get it. Before I had the below that wouth …

angular rxjs rxjs6
Cannot find module 'rxjs/subject/BehaviorSubject'

I am using Angular 2. When I use either of these two, my program runs well: import { BehaviorSubject } from 'rxjs/Rx'; …

typescript angular rxjs rxjs5
Angular2 Observable Timer Condition

I have a timer: initiateTimer() { if (this.timerSub) this.destroyTimer(); let timer = TimerObservable.create(0, 1000); this.timerSub = timer.subscribe(t => { …

angular timer rxjs observable angular2-observables
Getting the error ../node_modules/rxjs/Rx"' has no exported member 'of'

I'm learning new angular from the tutorial(https://angular.io/tutorial/toh-pt4#inject-message-service). I'm stuck in this while running the …

angular rxjs angular5
Best way to "flatten" an array inside an RxJS Observable

My backend frequently returns data as an array inside an RxJS 5 Observable (I'm using Angular 2). I often find myself wanting …

angular rxjs rxjs5