Maintains an ordered list of events, which can be cancelled.
Fire all handles for which Handle#time is less than the given time.
Returns the first non-cancelled handle.
Add an event at the given time.
Returns the number of pending (possibly cancelled) events.
[Validate]