Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

194
Visualizações
Sending many requests in chrome console, but wait in between

the UI of my product is not yet fully developed, therefore I often find myself manually sending out fetch requests from the Chrome devtools console. However, sometimes I have to send out requests in bulk, which makes me just loop through them:

request.forEach(function(req){
  await fetch(url, req);
});

For some reason though, it seems like my server is not OK with this volume, and doesn't properly execute all the requests. I thought that sleeping the thread in between the requests would help, but... how do I actually do that?

setTimeout or setInterval don't seem like good approaches for this problem.

Thanks!

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda