The PhantomT
Windmill15mo ago
3 replies
The Phantom

Is there a way to wait until a recompute function finish?

I am trying to change the state with the result of a background script from a frontend script, is that possible?

Eg.:

if (typeof (state.system) === 'undefined') {
recompute('bg_0');
state.system = bg_0.result;
}
Was this page helpful?