R
rebelbuttmunch
Hi,
What would be the best way to code a task so that it would run
iteratively for n seconds. For example, I have to code to fire a http
request, but I want to fire that request over and over for 60 seconds.
I was thinking about grabbing the time at the start and checking the
time after each loop, but it seems a bit innefficient.
Thanks!
Stephen.
What would be the best way to code a task so that it would run
iteratively for n seconds. For example, I have to code to fire a http
request, but I want to fire that request over and over for 60 seconds.
I was thinking about grabbing the time at the start and checking the
time after each loop, but it seems a bit innefficient.
Thanks!
Stephen.