2 ms·
How can you check if nothing happened?
by catechu 16y ago
How can you check if nothing happened?
- jacquesm 16y agoBy changing some global variable in the callback and checking if it has changed in 'somethinghappened' (which only gets called after 5 seconds, giving the callback time enough to get called).