RulesEvaluatedEvent
Hierarchy
- Event<{ results: RuleResult[] }>
- RulesEvaluatedEvent
Index
Constructors
Properties
Constructors
constructor
Parameters
optionalname: string
The subject of the event, when the event type alone does not identify it.
optionalpayload: { results: RuleResult[] }
The event's data.
results: RuleResult[]
Returns RulesEvaluatedEvent
Properties
readonlyinheritedheader
When the event was created. sequence counts every event this process created, so it orders
two events created in the same millisecond, and events a late listener receives replayed.
Type declaration
sequence: number
timestamp: number
readonlyinheritedname
The subject of the event, when the event type alone does not identify it - e.g. the class name on a registration event. Empty otherwise.
This event is emitted when the app's rules have been evaluated over its graph, by
generatebefore it writes anything and by the rules check. It is not emitted for an app with no rules.Events/Rule