serial executes handlers for a single event sequentially.
Companion runnable example:
Lifecycle impact
- Event starts processing.
- Handler A runs to completion (or failure/timeout).
- Handler B starts afterward, then C, and so on.
- Event completion waits for the serial chain (or completion-mode short-circuit rules).
Execution order example
- Python
- TypeScript
- Go
- Rust
Notes
- Best when handlers share mutable state or require strict ordering.
- Execution remains predictable but may increase per-event latency.