I would like to use concat in order to subscribe to all HTTP requests that I have in an array. The array could have 1 or multiple http requests in it. I am currently creating my observable array like this:
requestArray.push(this.updateUser());
requestArray.push(this.updateCustomer());
And then I would like the requests to be submitted one at a time so I tried using concat like this:
concat(requestArray).subscribe(results => {
console.log(results);
})
I would assume the results would be an array of the completed requests but instead it just prints out this:
Observable{_isScaler: false, source: Observable}
Observable{_isScaler: false, _subscribe: f}
It looks like its not actually subscribing to my observables.