Add pause / wait on js query?

Hey @Sander!

There are some ideas about how to add a delay to a batched query in this thread - the delay function there uses the pattern @bradlymathews is referring to!