Skip to main content

Module projection

Module projection 

Source
Expand description

Deriving current state from history, and explaining history to humans.

Structs§

FieldDiff
One human-readable field difference.
TimelineEntry
A readable history entry.

Functions§

apply
Apply one event to the current state.
diff
Field-level differences between two states of a record.
project
Replay a complete history. Returns None for an empty history.
timeline
Replay a history and describe each step. Works on filtered histories (gaps are tolerated) by diffing only the events present.