File

src/engine/engine.interface.ts

Description

Rule Engine constructor options

Index

Properties

Properties

debugger
debugger: EngineDebugger
Type : EngineDebugger
Optional

Provide debugger instance to the rules engine

factDefaultDelay
factDefaultDelay: number
Type : number
Optional

Delay before fact stream defaulting value

facts
facts: Fact<Facts>[]
Type : Fact<Facts>[]
Optional

List of facts

logger
logger: Logger
Type : Logger
Optional

Client to log the warning and error message

operators
operators: Operator<any, any>[]
Type : Operator<any, any>[]
Optional

List of custom operators

performance
performance: CrossPlatformPerformance
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: Ruleset[]
Type : Ruleset[]
Optional

List of rules

rulesEngineInstanceName
rulesEngineInstanceName: string
Default value : RulesEngine
Type : string
Optional

Name of the rules engine instance

skipCircularDependencyChecks
skipCircularDependencyChecks: boolean
Type : boolean
Optional

Skip the rule and fact circular dependency checks Turn to true to increase the speed of the upsert of a rule

results matching ""

    No results matching ""