|
|
@@ -1,4 +1,6 @@ |
|
|
|
import wbApplyRequestOrdering from 'wb-apply-request-ordering';
|
|
|
|
import wbApplyPromiseOrdering from 'wb-apply-promise-ordering';
|
|
|
|
|
|
|
|
const requestPromiseOrdering = {};
|
|
|
|
|
|
|
|
function makeArvadosRequest(arvHost, arvToken, endpoint, params={}) {
|
|
|
|
const defaultParams = {
|
|
|
@@ -37,7 +39,7 @@ function makeArvadosRequest(arvHost, arvToken, endpoint, params={}) { |
|
|
|
xhr.send(data);
|
|
|
|
});
|
|
|
|
|
|
|
|
// prom = wbApplyRequestOrdering(prom);
|
|
|
|
prom = wbApplyPromiseOrdering(prom, requestPromiseOrdering);
|
|
|
|
|
|
|
|
return prom;
|
|
|
|
}
|
|
|
|