I'm currently using pipe and concatMap to chain multiple http requests like this:
onErrorResumeNext(from(ids))
.pipe(
delay(10),
concatMap(id => get(id))
)
.subscribe(res => {
if (res = emptydata) return id
});
The get function handles building the query string from an array of ids and also contains retry and catchError.
Now, the problem is I need to access the same id parameter if I get no data on the response object.
Any ideas?
idparameter?