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.

How to return observable from subscribe

I'm trying to return an observable when I get a certain value in a subscriber, but I fail miserably. This …

angular typescript rxjs observable
How to 'wait' for two observables in RxJS

In my app i have something like: this._personService.getName(id) .concat(this._documentService.getDocument()) .subscribe((response) => { console.log(…

javascript angular rxjs reactive-programming
Angular - HttpClient: Map Get method object result to array property

I am calling an API that returns a JSON Object. I need just the value of the array to map …

arrays json angular rxjs angular-httpclient
Chaining RxJS Observables from http data in Angular2 with TypeScript

I'm currently trying to teach myself Angular2 and TypeScript after happily working with AngularJS 1.* for the last 4 years! I have …

typescript angular observable rxjs
RXJS Wait for all observables in an array to complete (or error)

I'm pushing observables into an array like such... var tasks$ = []; tasks$.push(Observable.timer(1000)); tasks$.push(Observable.timer(3000)); tasks$.push(…

javascript rxjs
Angular2: mouse event handling (movement relative to current position)

My user should be able to move (or rotate) an object by mouse in a canvas. When mouse events occur …

typescript angular mouseevent rxjs eventemitter
Get current value from Observable without subscribing (just want value one time)

The title says it all really. How can I get the current value from an Observable without subscribing to it? …

angular rxjs observable
"rxjs" observable.throw is not a function - Angular4

I've been learning Angular 4 and everything was going smoothly until I tried to implement catch handling in a service. I'm …

angular rxjs observable throw
Angular2 Observable and Promise

I started using Angular2 Observable, but I can't find something similar to .then that I used with Promises. This is …

angular promise rxjs observable
Property 'filter' does not exist on type 'Observable<Event>'

Hi I am using Angular 2 final with router 3.0. I want to filter the events that are emitted from this.router.…

javascript angular rxjs