Overview of changes: * Added experimental ruleset manager Instead of manipulating queue over and over, handler can now start a ruleset tied to a queue loader and add rules as functions that always operate on freshly loaded queue. Once queue stops yielding no more rules are executed, saving unnecessary round trips with server. To make this work with least possible amount of typing to use, this module is stateful operation, but with some basic care it should be safe and overall the ruleset approach should make it easier to prevent conflicts such as when later, more inclusive rule overrides former.
|
|
||
1 |
|
1 |
|
2 |
|
|
|
|
2 |
|
|
3 |
|
3 |
|
4 |
|
4 |
|
5 |
|
5 |
|