If the specified timer has been scheduled to expire at a time after the call to
unschedule-timer
, this function unschedules the timer and returns the timer. Otherwise, the function returns
nil
.
The argument is a timer, returned by
make-timer
or
make-named-timer
.
(setq timer
(mp:make-timer 'print 10 *standard-output*))
#<Time Event : PRINT>
(mp:schedule-timer-relative timer 60)
#<Time Event : PRINT>
(mp:unschedule-timer timer)
#<Time Event : PRINT>
(mp:timer-expired-p timer)
T
make-named-timer, make-timer, schedule-timer, schedule-timer-milliseconds, schedule-timer-relative, timer-expired-p, timer-name