result = invokeRequestsInParallel(endpoints, _hostVar, request, dynEnv);
} else {
Sequence lastSeq = invokeRequest(endpoints.get(0), request);
for(int i = 1; i < numEndpoints; i++) {
Sequence secSeq = invokeRequest(endpoints.get(i), request);
lastSeq = new ChainedSequence(lastSeq, secSeq, dynEnv);
}
result = lastSeq;
}
return result;
}