i’m developing a few smaller plugins, which sometimes perform time-consuming operations. for better feedback i’d like to use an HTMLDialog. (only a small page with a progressbar and/or some text, which can be accessed via scripts)
When I initialize the functions, I want to start the HTML dialog and then run an update function at regular intervals.
Unfortunately only the empty dialog opens each time and the function runs through completely, only after that the content of the dialog is displayed…
how can I determine / wait for the completeness of the HTML dialog in the initialization process, in order to continue with the execution of the actual function afterwards?
I would be very grateful for helpful tips,
Greetings from Germany,