A simple rule-engine for javascript
Updated dependencies. No further changes.
Chaining rules with AND/OR
Reimplemented through native Promises
It was replaced by plain old co library.
This internal issue might cause huge delays on fact processing. By changing the clone algorithm from JSON.parse/stringify to Object.assign we achieved a 5x performance boost.
Added support for #6 and #7
Disabled required parameters validation at bind time (since it was broken)
Now closures implemented thorugh a class must define a do
method instead of a process
method (although, overwriting process is still an option`.
do
method accepts non promise return values.
Major changes. Closure syntax consolidated. Reduced to minimum interfaces.