RuleListener
RuleListener<
Target> = (context,entity) =>Promise<void> |void
Rule property called if the rule is run on the corresponding entity type.
Type Parameters
Section titled “Type Parameters”Target
Section titled “Target”Target extends Entity
Type of entity this function may be called on.
Parameters
Section titled “Parameters”context
Section titled “context”entity
Section titled “entity”Target
Returns
Section titled “Returns”Promise<void> | void