src/engine/engine.interface.ts
Rule Engine constructor options
Properties |
|
debugger |
debugger:
|
Type : EngineDebugger
|
Optional |
Provide debugger instance to the rules engine |
factDefaultDelay |
factDefaultDelay:
|
Type : number
|
Optional |
Delay before fact stream defaulting value |
facts |
facts:
|
Type : Fact<Facts>[]
|
Optional |
List of facts |
logger |
logger:
|
Type : Logger
|
Optional |
Client to log the warning and error message |
operators |
operators:
|
Type : Operator<any, any>[]
|
Optional |
List of custom operators |
performance |
performance:
|
Default value : window.performance on browser only, undefined on node
|
Type : CrossPlatformPerformance
|
Optional |
Instance of the performance reporter to use for performance measurements. |
rules |
rules:
|
Type : Ruleset[]
|
Optional |
List of rules |
rulesEngineInstanceName |
rulesEngineInstanceName:
|
Default value : RulesEngine
|
Type : string
|
Optional |
Name of the rules engine instance |
skipCircularDependencyChecks |
skipCircularDependencyChecks:
|
Type : boolean
|
Optional |
Skip the rule and fact circular dependency checks Turn to true to increase the speed of the upsert of a rule |