CascadeInfo<EM extends EventMapBase = EventMapBase>

interface
types.ts:655

What StoreSpec.onCascade receives when a ceiling is breached.

Type parameters

NameTypeDescription
EMextends EventMapBaseEvent map.

Properties

NameTypeDescription
chainreadonly string[]Ids from the root of the chain to the refused event's parent, newest last.
depthnumberCausal depth the refused event would have had.
eventEventUnion<EM>The event that was refused — the one that would have extended the chain.
limit"maxReduceDepth" | "maxTransitionsPerDrain"Which ceiling was hit.
limitValuenumberThe configured value that was exceeded.