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.
Part of my code: import {Injectable} from 'angular2/core'; import {Http, Headers, Request, Response} from 'angular2/http'; import {Observable} from …
http typescript angular observableThis is more of a "best practices" question. There are three players: a Component, a Service and a Model. The …
angular observableWhen should I store the Subscription instances and invoke unsubscribe() during the NgOnDestroy life cycle and when can I simply …
angular rxjs observable subscription angular-component-life-cycleI am trying to map from a service call but getting an error. Looked at subscribe is not defined in …
angular typescript rxjs observableThe function more() is supposed to return an Observable from a get request export class Collection{ public more = (): Observable<…
javascript typescript rxjs observableAn interviewer asked me: What is Observer and Observable and when should we use them? I wasn't aware of these …
java design-patterns observable observer-pattern observersI am trying to understand how to use Observables in Angular 2. I have this service: import {Injectable, EventEmitter, ViewChild} from …
typescript angular rxjs observableI am trying to print the result of http call in Angular using rxjs Consider the following code import { Component, …
typescript angular reactive-programming rxjs observableI am trying to implement something like a delegation pattern in Angular. When the user clicks on a nav-item, I …
angular observer-pattern observable eventemitter event-delegationI am having a service that has this method: export class TestModelService { public testModel: TestModel; constructor( @Inject(Http) public http: …
typescript promise angular observable rxjs