hi all.
i have a code to list out all the tasks running and i want to set a countdown to loop that command every 3 seconds.
is there a countdown code?
Printable View
hi all.
i have a code to list out all the tasks running and i want to set a countdown to loop that command every 3 seconds.
is there a countdown code?
Use a Timer with an Interval of 3000 (milliseconds).
... i already have 6 timers... is there a way to do it without one? if this is the only way then i'll use a timer.
That's what Timers are for. The only other way (that I can think of) would be to have a thread that you sleep for that period and that's hardly efficient.
ok nvm then. i'll use a timer