preprocessEvent method

void preprocessEvent(
  1. 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.

  • localityEvent The 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();
  }
}