CacheControl / CacheControl/json-rules-engine

Ability to stop rules execution after success for array of inputs

Aperta
#360 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
3.1k
Fork
507
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently, when we use engine.stop() it will stop entire engine. what if i have 10 rules and running for array of inputs after first rule success i want to stop execution of next.

engine.run(input1) - > after first rule success , i want to stop execution of next rules and run the next input
engine.run(input2)
engine.run(input3)

I need to stop rules for that particular instead of stopping entire engine

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.