The Phantom
The Phantom4w ago

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; }
2 Replies
rubenf
rubenf4w ago
not yet but it's a good idea