compareValidatedDeterministically()

Deterministically compares two already validated events using the current tie-breaker.

Signature

function compareValidatedDeterministically<T>(
  a: ValidatedEventEnvelope<T>,
  b: ValidatedEventEnvelope<T>,
  tieBreaker?: TieBreaker<T>,
): number