CascadeInfo<EM extends EventMapBase = EventMapBase>
interfaceWhat StoreSpec.onCascade receives when a ceiling is breached.
Type parameters
| Name | Type | Description |
|---|---|---|
EM | extends EventMapBase | Event map. |
Properties
| Name | Type | Description |
|---|---|---|
chain | readonly string[] | Ids from the root of the chain to the refused event's parent, newest last. |
depth | number | Causal depth the refused event would have had. |
event | EventUnion<EM> | The event that was refused — the one that would have extended the chain. |
limit | "maxReduceDepth" | "maxTransitionsPerDrain" | Which ceiling was hit. |
limitValue | number | The configured value that was exceeded. |