cancel
cancel — removes a timer from the set of pending timers.
cancel (timer_number)
timer_numberAn integer number returned from a call to
after, at or
every.
The complete timer definition for the canceled timer, or nil if no timer was
canceled.
Removes a timer from the set of pending timers based on its unique timer ID as returned by the function which created the timer. If no timer could be found with the corresponding timer number, nothing happens.
To set a timer to repeat every 5 seconds, then stop it:
Gamma>every(5, #princ("hello\n"));1Gamma>cancel(1);[945884155 683256506 5 ((princ "hello\n")) 1]Gamma>
_timers_ in Predefined Symbols