How does a resumable sub using Sleep interact with the activity pausing and resuming?
For example, I'm working on a poker app that uses sleep(250) to pause between each player's bet. Works great while the app is running.
However, if I switch out of my app while it's stepping through the players, then return to the app, the sub doesn't appear to resume.
(If I was using the old method of timers, I would pause/resume the timer when my app was paused/resumed.)
Thanks!