InstrumentedEvent

interface
yoltra/types.py:112

A single observed event delivered to an `InstrumentationObserver`. Emitted once per event (committed or vetoed), synchronously after the reduce phase. Carries the exact paths the store computed while reducing — observers never need to re-diff.

Properties

NameTypeDescription
changed_pathsstr[]Dotted leaf paths that changed, slice-prefixed. Empty when nothing changed.
committedbool`True` if the event passed middleware and ran reducers; `False` if vetoed.
eventEventThe processed event, including its generated `id`.
next_valuesdict<str, any>New value at each changed path, keyed by path.
prev_valuesdict<str, any>Old value at each changed path, keyed by path.
reduce_time_msfloatMilliseconds spent in the synchronous reduce phase.