Top "Observable" questions

An observable is typically a programming construct that can be "watched" by other parts of the code, called the "observers". Different frameworks and programming languages have different implementations for observables, so this tag should typically be used in conjunction with others.

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
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
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
Type 'boolean' is not assignable to type 'Observable<boolean>'

I have that code method(): Observable<boolean> { return this._http.get('sessionId=' + sessionId).map(res=> { if (…

angular 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
Angular 2+ wait for subscribe to finish to update/access variable

Hello I am having an issue with my variables being undefined. I am certain this is because the observable hasnt …

angular observable subscribe
LiveData update on object field change

I'm using Android MVVM architecture with LiveData. I have an object like this public class User { private String firstName; private …

android observable android-livedata android-viewmodel
RxJs Array of Observable to Array

For a Web-Application written with Angular2 in TypeScript, I need to work with RxJs Observables. As I never used rxjs …

typescript angular rxjs observable
How to create an observable in Angular 2

I am trying to evaluate Angular 2 and I am having problems with observables. I am trying to create a simple …

angular observable