You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to emscripten-discuss
Hi there,
I have a program where I am printing to the HTML of a website, however it doesn't update until the main function exits. I found that adding emscripten_sleep() after the HTML is updated works, however I'm not sure how much to sleep for. Lower values don't update until the next line is printed, and higher values cause too much delay. Is there some way I can wait until it is finished updating? Or is there some other way I can update the HTML? Any help is appreciated.