Function cmb_event_reschedule

Function Documentation

bool cmb_event_reschedule(uint64_t handle, double time)

Reschedules event at index to another (absolute) time. The event is assumed to be in the event queue, error if not. Call cmb_event_is_scheduled first if not sure.

Parameters:
  • handle – The handle of some event in the event queue.

  • time – The new scheduled time of the event.

Returns:

true if the event was found, false if not.