compareValidatedByCausality()

Performs pairwise causal comparison on already validated events.

Signature

function compareValidatedByCausality<T>(
  a: ValidatedEventEnvelope<T>,
  b: ValidatedEventEnvelope<T>,
): CausalOrdering