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

306
Visualizações
How to run functions in parallel with timeout in Node.js

In my program there are list elements of which should be processed. So I pass them in function. I can do it consequently in for loop but it will take a long time, so I use Bluebird.map(). But I need to change how it runs functions so that it not run them at the same time but with timeout 1 second. Graphically: colored boxes - running functions, lines - 1 second intervals. enter image description here

One important thing is that at the same time maximum number of running functions should be limited. So what I want is Bluebird.map() but one which runs functions with 1 second interval

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