I have a rather long running / command that raises some click events (script.raise_event).
These events cause some UI elements to be drawn, created, closed, ...
As everything happens in one command/function it looks like there is no UI update until the very end.
I would like to see the steps in between though (simply to make it visually followable).
Question: Is there a way to trigger a redraw of the UI via script?
I couldn't find an event to raise or a way to let the script run "asynchronous".
Or is this actually the case already and I'm just to slow/the runtime is not long enough yet?
Thanks
P.S. my search foo returned nothing the like, if this question has been answered already then I'm sorry
