Skip to content

RuleListener

RuleListener<Target> = (context, entity) => Promise<void> | void

Rule property called if the rule is run on the corresponding entity type.

Target extends Entity

Type of entity this function may be called on.

RuleContext

Target

Promise<void> | void