orderValidatedEvents()

Orders already validated events without re-running validation.

Signature

function orderValidatedEvents<T>(
  validEvents: ValidatedEventEnvelope<T>[],
  options?: OrderOptions<T>,
): OrderResult<T>

Use this when you already hold validated events and want the public ordering step without re-running validation.

Details

  • This page shows the supported call shape for already validated events.
  • Use orderEvents() instead when you want validation included in the same step.