3 ms·
Yeah, hopefully nobody busyloops ala for(;;)checkForEvent(); But I could see someone doing for(;;){checkForEvent();sleep(sometime);} or setInte
by im3w1l 12y ago
Yeah, hopefully nobody busyloops ala
for(;;)checkForEvent();
But I could see someone doing
for(;;){checkForEvent();sleep(sometime);}
or
setInterval(checkForEvent, sometime);
This wouldn't be terrible but not ideal.