Function schedule_event

Function Documentation

void schedule_event(const Event *event, bool relative = true)

Schedule an event for execution.

Adds an event to the priority queue for execution at the specified time.

Parameters:
  • event – Pointer to the event to schedule

  • relative – If true, timestamp is relative to current time (default: true)