json-rules-engine-simplified icon indicating copy to clipboard operation
json-rules-engine-simplified copied to clipboard

Why is `.run` a promise?

Open timkindberg opened this issue 5 years ago • 0 comments

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.

timkindberg avatar Apr 07 '20 19:04 timkindberg