State supers: HeapElement
instance (id) withInterval double secs invocation Invocation invocation repeats: boolean repeats_p = NO pre secs > 0.0 || !repeats_p && !secs;
The next (relative) moment in time we will fire.
The repetition period. This is 0.0 for a single-shot timer.
The invocation to fire when we do.
id (self) initWithFireTime double d invocation Invocation i period: double p = 0.0 pre p >= 0.0;
Designated initializer. If the time d lies in the past, the timer will fire as soon as possible.
Fire the timer and invoke the invocation. If the timer is repeating, and the invocation did not throw any conditions, then the timer will be re-added to the current RunLoop. Unfortunately, this will fail silently.
OutputStream (s) writeFields OutputStream s;
void cancel pre [self scheduled];
void schedule pre ![self scheduled];
Schedule this timer with the current RunLoop. The timer must not already be scheduled.
Return whether this timer is currently scheduled.
int compare id other;
Return a comparison of the firing times of the two timers.