void () { if (wasChanged()) { myChangesPastTime = 0; } else { if (myChangesPastTime != NO_CHANGES) { myChangesPastTime += CHANGES_CHECK_TIME; if (myChangesPastTime >= RUN_DELAY_TIME) { myChangesPastTime = NO_CHANGES; run(); } } } }