Expand description
Caches computed state snapshots at periodic intervals for efficient seek/step.
Structs§
- Computed
State - Computed state from replaying events.
- Marking
Cache - Cache of computed state snapshots for efficient seek/step operations.
Constants§
- SNAPSHOT_
INTERVAL - Number of events between cached snapshots.
Functions§
- apply_
events - Applies events to mutable accumulator collections.
- compute_
state - Computes marking, enabled transitions, and in-flight transitions from events.