Events.MakeQueueFunctor to create an implementation for the EventQueue, given the Event module.
type ev = Event.tThe type of events being stored.
The type of the elements stored in the event queue. It is a tuple with the timestamp and the event. The timestamp is the key over which elements will be ordered.
val get_event : unit -> elemReturns the next event in the queue (throws exception if the queue is empty).
val add_event : ev -> unitAdd an event to the queue, maintaining the timestamp ordering.