I have a series of observables that I am combining using the forkJoin
operation. I am trying to determine how to identify which observable corresponds to each object in the responses array.
let observables = ... // an array of observables
forkJoin(observables).subscribe(responses=>{
responses.forEach(response=>{
// need to determine the source observable for this response
});
});
I am looking to access specific request parameters after receiving the http response. Unfortunately, I cannot modify the server's response to include additional attributes. Do you have any suggestions on how I can retrieve the original request object after subscribing to the response?