in reply to OT Re^2: Sleep - settle an argument?
in thread Sleep - settle an argument?
Great! I answered to let other monks know that there was something similar to sleep() in JS.
I use it to update a digital clock on a CRM package. Twice a second, it updates the clock. Before I used the setTimeout, the user's PC was totally overloaded with calls to the clock update routine and there was no cpu power left for other things (like input) :-)
"Well done is better than well said." - Benjamin Franklin