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.
The async nature of
.rundoes not seem necessary. The functionapplicableActionsdoes 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.