OptionalmessagesHow many messages to handle before returning; the loop runs until stopped unless given.
OptionalonHears a message that could not be judged or an action that failed. The loop carries
on with the next message; without one, the failure ends the loop and run rejects
with it.
OptionalonHears each message that set or cleared a rule, with what fired.
OptionalpollHow long each wait for a message lasts before the signal is checked again.
OptionalsignalStops the loop; a message under way is finished first.
How a rule engine runs until it is told to stop.