I'm curious if anything has been written that addresses the general topic of how to deal with timing, delays, and time-based triggering of actions when working in WebCore?
Everything in the UI is asynchronous, and a lot of work has been done to simplify how to deal with arbitrary timing gaps here and there.
But suppose you want to click a button and have something run for 5 seconds, then stop? Or you have something you want to trigger every second? Like playing a drum hit?
I've tried using a TTimer and it doesn't look very predictable. And Sleep( ) doesn't seem to behave entirely as expected.
TTimer and Sleep were written to work with Windows, even though they're fairly high-level.