json-rules-engine-simplified
json-rules-engine-simplified copied to clipboard
Why is `.run` a promise?
The async nature of .run does not seem necessary. The function applicableActions does no asynchronous work, so it's really a promise for no reason.
I wouldn't normally care, but I'm trying to implement my own rules runner and it would be much easier to write if I could rely on everything to be synchronous.