preprocessEvent method
void
preprocessEvent(
- Broadcast localityEvent
inherited
Inspects, filters, and commits incoming chronological records to the instance runtime.
Validates the uniqueness of the incoming transaction identifier against local histories to block duplicate triggers before modifying internal trace limits using the event data sequence bounds.
localityEventThe historical transaction token containing raw data markers.
Implementation
void preprocessEvent(Broadcast localityEvent) {
if (localityEvent.sequenceId == null) {
// Event awaiting server-side fulfillment
return;
}
if (!wasSeen.containsKey(localityEvent.uuid)) {
wasSeen[localityEvent.uuid] = true;
waitingEvents[localityEvent.sequenceId!] = localityEvent;
dispatchWaitingEvents();
}
}