Expand description
Event handling types.
Structs
An
EventId
uniquely identifies an event.Reads events of type
T
in order and tracks which events have already been read.Sends events of type
T
.An event collection that represents the events that occurred within the last two
Events::update
calls.
Events can be written to using an EventWriter
and are typically cheaply read using an EventReader
.Traits
A type that can be stored in an
Events<E>
resource
You can conveniently access events using the EventReader
and EventWriter
system parameter.