json-rules-engine
json-rules-engine copied to clipboard
Async Operator
Is posible to have an async operator?
NOTE: I'm not the maintainer, just an interested party.
Not right now by the looks of it, but because condition.evaluate
returns a promise. It should be pretty easy to put in a PR to create async operators (though with async facts, I'm not sure if there would be value in muddying the API further).
That being said, if you needed something in the immedaite term, it's likely you could just use an async fact.