Skip to main content
serial executes handlers for a single event sequentially. Companion runnable example:

Lifecycle impact

  1. Event starts processing.
  2. Handler A runs to completion (or failure/timeout).
  3. Handler B starts afterward, then C, and so on.
  4. Event completion waits for the serial chain (or completion-mode short-circuit rules).

Execution order example

Notes

  • Best when handlers share mutable state or require strict ordering.
  • Execution remains predictable but may increase per-event latency.