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 an Observable in angular 4?

I have this method inside a authProvider provider class: getUser() { return this.afAuth.authState.subscribe(user => { return user; }); } I …

angular typescript observable subscriber
RXJS - Angular - unsubscribe from Subjects

As described in this thread, 'official' solution to unsubscribe from Observables in Angular 5+ in general is using takeUntil. So far, …

angular rxjs observable subject
Observables : Cancel previous http request on new subscription call

I am working on a search functionality for my project. Once the user types anything on the search bar; on …

angular rxjs httprequest observable subscribe
Angular 6 observables - extract data from .subscribe() function and use it elsewhere

I'm banging my head against the wall with observables. Almost all of the documentation I can find is in the …

angular asynchronous rxjs observable subscribe
How to create an RXjs RetryWhen with delay and limit on tries

I am trying to make an API call (using angular4), which retries when it fails, using retryWhen. I want it …

angular rxjs observable
Angular http post to return data back through service to component

I Want to return data (@@identity) from sql server through the service to the component The Web api is definitely …

javascript angular typescript observable angular-services
unsubscribe is not a function on an observable

I'm making a drag and drop application and I have created an observable to the mouse position, that repositions my …

angular typescript observable unsubscribe
How to properly query a Firebase list in AngularFire2?

I'm developing an Angular2 application with Firebase as a backend. On a subpage I want to display some tasks for …

firebase firebase-realtime-database observable angularfire2 querying
'Error' message: 'Property 'from' does not exist on type 'typeof Observable'

I am trying to learn reactive programming using RxJS. I was trying to create an observable from an array using …

angular typescript rxjs observable angular2-observables
RxJS observable which emits both previous and current value starting from first emission

I have a BehaviorSubject which emits JavaScript objects periodically. I want to construct another observable which will emit both previous …

rxjs observable