await Promise.all(
endpoints.map((endpoint) =>
this.httpService.get(endpoint).pipe(
map((response) => {
return response.data['result'];
}),
),
),
).then(
axios.spread((...allData) => {
allData.forEach((res) =>
res.subscribe((res) => {
apiFeedBack.push(res);
console.log(apiFeedBack);
}),
);
}),
);
While debugging it is skipping promise.all execution and directly returns undefined as response. What am i missing here