The
timer-expired-p
function returns
t
if the specified timer is not scheduled to expire or is scheduled to expire within the number of seconds specified by the
delta
argument after the call to
timer-expired-p
. Otherwise, the function returns
nil
.
The timer argument is a timer, returned by make-timer or make-named-timer. The delta argument, if supplied, is a non-negative real number of seconds.
(setq timer
(mp:make-timer 'print 10 *standard-output*))
#<Time Event : PRINT>
(mp:schedule-timer-relative timer 5)
#<Time Event : PRINT>
(mp:timer-expired-p timer)
NIL
make-named-timer, make-timer, schedule-timer, schedule-timer-milliseconds, schedule-timer-relative, timer-name, unschedule-timer