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.
Thanks, supsm -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/7dd565f4-8325-493b-a270-a87dd1a4836an%40googlegroups.com.
