Skip to main content

Module event

Module event 

Source
Expand description

The event module defines the core components for representing events in the simulation.

It includes EventPriority for ordering events and the Event struct itself, which encapsulates a unique ID, priority, and a generic payload for application-specific data.

Structsยง

Event
Represents a scheduled event within the simulation.
EventPriority
Represents the priority of an event. Higher numerical values indicate higher priority.