Cancel the upcoming invocation (and subsequent repeat-interval scheduling) of a currently scheduled scheduled function.
Arguments and values
|name-or-scheduled-function|| An object (typically a string or a
symbol) naming a currently scheduled scheduled function or a
|marker|| An object (default is |
|verbose|| A generalized boolean
(default is |
|warnp|| A generalized boolean (default is |
|boolean||A generalized boolean|
The scheduled function if it was unscheduled;
nil if the
scheduled function was not currently scheduled or was not found.
Threads (multiprocessing) is not supported on the Common Lisp implementation.
If warnp is true, a warning is issued if the scheduled function was not currently scheduled or was not found.
> (unschedule-function 'quitting-time) #<scheduled-function quitting-time [unscheduled]> >Unschedule all currently scheduled scheduled functions:
> (all-scheduled-functions) (#<scheduled-function nil [Jan 1, 2014 00:00:00]>) > (mapc #'unschedule-function (all-scheduled-functions)) (#<scheduled-function nil [unscheduled]>) > (all-scheduled-functions) nil >Unschedule a non-existent scheduled function:
> (unschedule-function 'non-existent) ;; Warning: Scheduled-function non-existent was not scheduled; no action taken. nil >
The GBBopen Project