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

134
Visualizações
Gundb: Once-Callback is only called when the chain is executed the second time

i have an graph which stores the result of exercises. The graph looks like that:
EXERCISE_RESULTS -> <ExerciseId> -> <Date> -> ResultEntry

Now i want to retrieve an exerciseId-Node by using the following chain command:
gun.get(TableKeys.EXERCISE_RESULTS).get(exerciseId).once(callback)
When i execute the chain, the callback of the once method is not being called. If i call this a second time however, the callback will be called with the data of the ExerciseId-Node.

Do you know what the cause of this behavior could be?

I use the gun version 0.2020.1232

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