Skip to main content
parallel removes event-level serialization for a bus, so multiple events can be in-flight simultaneously. Companion runnable example:

Lifecycle impact

  1. Events still enqueue and are tracked in history.
  2. The bus does not gate execution with an event semaphore.
  3. Handler-level concurrency rules still apply within each event.
  4. Ordering guarantees become weaker under load because events can overlap.

Execution order example

Notes

  • Use when throughput matters more than deterministic event ordering.
  • Combine with idempotent handlers and explicit external coordination when needed.