Top "Rxjs5" questions

The 5th version of the reactive extensions for javascript.

How to return value from function which has Observable subscription inside?

I dont know how to extract value from Observable to be returned by function in which Observable is present. I …

typescript angular rxjs rxjs5
Chaining Observables in RxJS

I'm learning RxJS and Angular 2. Let's say I have a promise chain with multiple async function calls which depend on …

javascript promise reactive-programming rxjs rxjs5
What is the correct way to share the result of an Angular Http network call in RxJs 5?

By using Http, we call a method that does a network call and returns an http observable: getCustomer() { return this.…

angular rxjs angular2-services rxjs5
Observable Finally on Subscribe

According to this artcle, onComplete and onError function of the subscribe are mutually exclusive. Meaning either onError or onComplete events …

javascript rxjs rxjs5
How to get current value of State object with @ngrx/store?

My service class, before calling a web service, needs to get a property called dataForUpdate from my state. Currently, I'm …

angular rxjs5 ngrx
How to make HTTP request at an interval?

I am quite new to angular and rxjs. I am trying to create an angular2 app that gets some data …

angular rxjs5
What is pipe for in rxJS

I think I have the base concept, but there are some obscurities So in general this is how I use …

angular rxjs rxjs5
When to use asObservable() in rxjs?

I am wondering what is the use of asObservable: As per docs: An observable sequence that hides the identity of …

rxjs rxjs5
Typescript Select Ids from object

I am new to Typescript. I want to select ids from observable This is my observable let myObj = [{ "id": 1, "text": "…

arrays angular typescript rxjs rxjs5
How do I get around this "Subject incorrectly extends Observable" error in TypeScript 2.4 and RxJS 5.x?

When I compile, I get the following compiler error in the RxJS declaration files: node_modules/rxjs/Subject.d.ts(16,22): …

typescript rxjs rxjs5 typescript2.4