> An interface for removable alarms was documented on the list about two
> years ago, but I never got around to implementing it. I've excerpted
> that message here and in the TODO file so people can comment on it
> before I start coding.
>
> > | $alarm_id = $kernel->alarm_set($time, $event, @etc);
> > | $kernel->alarm_adjust($alarm_id, $seconds_to_adjust);
> > | $kernel->alarm_remove($alarm_id);
> > |
> > | Also the delay shortcut, which would return an ID usable by
> > | &Kernel::alarm_adjust and &Kernel::alarm_remove:
> > |
> > | $alarm_id = $kernel->delay_set($seconds, $event, @etc);
This interface would do perfectly. A method called something
like alarm_remove_all could be added to be an equivalent of
todays one argument alarm method. Also right now in alarm
method the time argument goes after the event argument.
Kirill