Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

139
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!