CacheControl / CacheControl/json-rules-engine

Ability to stop rules execution after success for array of inputs

Open
#360 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.1k
Forks
507
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.