I
Size: a a a
I
S
NF
S
NF
S
S
S
S
S
arr =['xyz.ru', 'aaa.ru'];
const responses = []
const onSuccess = (resp) => responses.push(resp);
for(let i = 0; i < 200; i++) {
axios(arr[i]).then(onSuccess))
}
S
S
S
S
NF
S
arr =['xyz.ru', 'aaa.ru'];
const responses = []
const onSuccess = (resp) => responses.push(resp);
getNextRequest = () => {
тут axios достает посл элемент массива
};
for(let i = 0; i < 200; i++) {
axios(arr[i]).then(onSuccess))
}
S
NF
I
arr =['xyz.ru', 'aaa.ru'];
const responses = []
const onSuccess = (resp) => responses.push(resp);
getNextRequest = () => {
тут axios достает посл элемент массива
};
for(let i = 0; i < 200; i++) {
axios(arr[i]).then(onSuccess))
}