Skip to main content

Module flat_event

Module flat_event 

Source
Expand description

Flat event representation for simplified consumer-side matching.

Collapses the nested Origin → DirectAccessEntity → EntityEvent hierarchy into a single-level FlatEventKind enum. Every consumer can subscribe to all events once and match on a flat enum instead of reconstructing nested Origin values.

Structs§

FlatEvent
An event with a flattened kind, ready for consumer-side matching.

Enums§

FlatEventKind
Flat representation of all event origins.

Functions§

is_mutation
Returns true if this event kind represents an entity mutation (created, updated, or removed).