Supervisor

 

Supervisor
Supervise a set of rules that automatically fire a handler for when the rule is broken. Rules operate on a single variable, and need a supporting check function and the beforementioned handler.

addRule()
Add a rule for this Supervisor to supervise.

removeRule()
Remove a rule for this Supervisor to supervise.

checkRules()
Check all rules for this Supervisor.