Closed Wizek closed 6 years ago
Sorry for taking so long to reply.
The behavior you are seeing is due to "call buffering". See the note in the documentation for runFunction. I should probably mention it in the documentation more prominently.
I have improved the documentation in commit c9a7077810fbe95ee2a4186afae9d24d0bc10ced . Feel free to reopen the issue if you feel that this is not good enough!
As an example, I'd like a piece of text visible for some seconds, then change it to some other text.
I've tried two approaches:
testGui1
doesn't render "1" before showing "2".testGui2
renders "1", then doesn't render "2".Am I missing something here? Perhaps there is a third approach I haven't considered? Or is this a bug in threepenny-gui?