CacheControl / CacheControl/json-rules-engine
Ability to stop rules execution after success for array of inputs
未關閉
- 主要語言
- JavaScript
- 星號
- 3.1k
- 分支
- 507
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
先閱讀 issue 中描述的 engine.run(input) 和 engine.stop() 行為,重點關注規則執行在 input1、input2 和 input3 之間的範圍。定義依輸入分別停止的行為:某個規則成功後,跳過該輸入的後續規則,同時仍繼續執行後續輸入;完成後應保留 engine 處理剩餘輸入的能力。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- backend
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100