Top "Subscribe" questions

Angular2 - return boolean with subscribe to canActivate

I am new in Angular, I need to implement a function that returns true/false, I going to use the …

angular subscribe
redirect to a route after api call in angular2

I need to redirect the user to a different component after processing (via api) the data user submitted through form. …

angular router subscribe
Error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value

I'm using an auth guard in angular 5 to check if the user should be able to navigate to a specific …

angular typescript rxjs angular5 subscribe
q.all for angular2 observables

is there something like q.all to resolve all http api requests in angular2? In angular1, I can do something …

angular combinations observable subscribe
Angular 5 Subscribe not a function

Angular return a error : Error: Uncaught (in promise): TypeError: res.users.subscribe is not a function. Since this morning, I …

angular observable httpclient subscribe
Resubscribe a user to a MailChimp list after unsubscribe

My site allows users to subscribe to MailChimp lists using the API via Drupal MailChimp module. But if a user …

mailchimp subscribe mailchimp-api-v3.0 unsubscribe
The simpliest way to subscribe for an observableArray in knockoutjs

I have an observableArray with some markers, for example: var markers = ko.observableArray([ { id: 0, title: ko.observable("Marker 0"), lat: ko.…

google-maps knockout.js observable subscribe
Rxswift change value of observed object

I am fairly new to Rx and to Reactive Programming in general. I am simply trying to make things work. …

swift observable rx-swift subscribe
Angular ObjectUnsubscribedError while resubscribe

I'm getting the following error while trying to subscribe in the second time to an EventEmitter after that ngOnDestroy was …

angular eventemitter subscribe